public static final class PolicyTypes.Info.Builder
extends java.lang.Object
PolicyTypes.Info
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
PolicyTypes.Info . |
Modifier and Type | Method and Description |
---|---|
PolicyTypes.Info |
build() |
PolicyTypes.Info.Builder |
setMaxDays(java.lang.Long maxDays)
Maximum number of days a password may be used.
|
PolicyTypes.Info.Builder |
setMinDays(java.lang.Long minDays)
Minimum number of days allowed between password changes.
|
PolicyTypes.Info.Builder |
setWarnDays(java.lang.Long warnDays)
Number of days warning given before a password expires.
|
public Builder()
PolicyTypes.Info
.public PolicyTypes.Info.Builder setMaxDays(java.lang.Long maxDays)
null
then the restriction will be ignored.maxDays
- New value for the property.public PolicyTypes.Info.Builder setMinDays(java.lang.Long minDays)
null
then the restriction will be ignored.minDays
- New value for the property.public PolicyTypes.Info.Builder setWarnDays(java.lang.Long warnDays)
null
then no warning will be provided.warnDays
- New value for the property.public PolicyTypes.Info build()