public static final class LocalAccountsTypes.UpdateConfig.Builder
extends java.lang.Object
LocalAccountsTypes.UpdateConfig.| Constructor and Description |
|---|
LocalAccountsTypes.UpdateConfig.Builder()
Constructor with parameters for the required properties of
LocalAccountsTypes.UpdateConfig. |
| Modifier and Type | Method and Description |
|---|---|
LocalAccountsTypes.UpdateConfig |
build() |
LocalAccountsTypes.UpdateConfig.Builder |
setDaysAfterPasswordExpiration(java.lang.Long daysAfterPasswordExpiration)
Number of days after password expiration before the account will be locked
If
null, value will not be changed |
LocalAccountsTypes.UpdateConfig.Builder |
setEmail(java.lang.String email)
Email address of the local account
If
null, value will not be changed |
LocalAccountsTypes.UpdateConfig.Builder |
setEnabled(java.lang.Boolean enabled)
Flag indicating if the account is enabled
If
null, value will not be changed |
LocalAccountsTypes.UpdateConfig.Builder |
setFullName(java.lang.String fullName)
Full name of the user
If
null, value will not be changed |
LocalAccountsTypes.UpdateConfig.Builder |
setInactiveAfterPasswordExpiration(java.lang.Boolean inactiveAfterPasswordExpiration)
Flag indicating if the account will be locked after password expiration
If
null, value will not be changed |
LocalAccountsTypes.UpdateConfig.Builder |
setMaxDaysBetweenPasswordChange(java.lang.Long maxDaysBetweenPasswordChange)
Maximum number of days between password change
If
null, value will not be changed |
LocalAccountsTypes.UpdateConfig.Builder |
setMinDaysBetweenPasswordChange(java.lang.Long minDaysBetweenPasswordChange)
Minimum number of days between password change
If
null, value will not be changed |
LocalAccountsTypes.UpdateConfig.Builder |
setOldPassword(char[] oldPassword)
Old password of the user (required in case of the password change, not required
if superAdmin user changes the password of the other user)
If
null, user may not have password set. |
LocalAccountsTypes.UpdateConfig.Builder |
setPassword(char[] password)
Password
If
null, value will not be changed |
LocalAccountsTypes.UpdateConfig.Builder |
setPasswordExpires(java.lang.Boolean passwordExpires)
Flag indicating if the account password expires
If
null, value will not be changed |
LocalAccountsTypes.UpdateConfig.Builder |
setPasswordExpiresAt(java.util.Calendar passwordExpiresAt)
Date when the account's password will expire
If
null, value will not be changed |
LocalAccountsTypes.UpdateConfig.Builder |
setRoles(java.util.List<java.lang.String> roles)
User roles
If
null, value will not be changed |
LocalAccountsTypes.UpdateConfig.Builder |
setWarnDaysBeforePasswordExpiration(java.lang.Long warnDaysBeforePasswordExpiration)
Number of days of warning before password expires
If
null, value will not be changed |
public LocalAccountsTypes.UpdateConfig.Builder()
LocalAccountsTypes.UpdateConfig.public LocalAccountsTypes.UpdateConfig.Builder setPassword(char[] password)
null, value will not be changedpassword - New value for the property.public LocalAccountsTypes.UpdateConfig.Builder setOldPassword(char[] oldPassword)
null, user may not have password set.oldPassword - New value for the property.public LocalAccountsTypes.UpdateConfig.Builder setFullName(java.lang.String fullName)
null, value will not be changedfullName - New value for the property.public LocalAccountsTypes.UpdateConfig.Builder setEmail(java.lang.String email)
null, value will not be changedemail - New value for the property.public LocalAccountsTypes.UpdateConfig.Builder setRoles(java.util.List<java.lang.String> roles)
null, value will not be changedroles - New value for the property.
When clients pass a value of this class as a parameter, the property must
contain identifiers for the resource type: com.vmware.appliance.roles.
When methods return a value of this class as a return value, the property will
contain identifiers for the resource type: com.vmware.appliance.roles.public LocalAccountsTypes.UpdateConfig.Builder setEnabled(java.lang.Boolean enabled)
null, value will not be changedenabled - New value for the property.public LocalAccountsTypes.UpdateConfig.Builder setPasswordExpires(java.lang.Boolean passwordExpires)
null, value will not be changedpasswordExpires - New value for the property.public LocalAccountsTypes.UpdateConfig.Builder setPasswordExpiresAt(java.util.Calendar passwordExpiresAt)
null, value will not be changedpasswordExpiresAt - New value for the property.public LocalAccountsTypes.UpdateConfig.Builder setInactiveAfterPasswordExpiration(java.lang.Boolean inactiveAfterPasswordExpiration)
null, value will not be changedinactiveAfterPasswordExpiration - New value for the property.public LocalAccountsTypes.UpdateConfig.Builder setDaysAfterPasswordExpiration(java.lang.Long daysAfterPasswordExpiration)
null, value will not be changeddaysAfterPasswordExpiration - New value for the property.public LocalAccountsTypes.UpdateConfig.Builder setMinDaysBetweenPasswordChange(java.lang.Long minDaysBetweenPasswordChange)
null, value will not be changedminDaysBetweenPasswordChange - New value for the property.public LocalAccountsTypes.UpdateConfig.Builder setMaxDaysBetweenPasswordChange(java.lang.Long maxDaysBetweenPasswordChange)
null, value will not be changedmaxDaysBetweenPasswordChange - New value for the property.public LocalAccountsTypes.UpdateConfig.Builder setWarnDaysBeforePasswordExpiration(java.lang.Long warnDaysBeforePasswordExpiration)
null, value will not be changedwarnDaysBeforePasswordExpiration - New value for the property.public LocalAccountsTypes.UpdateConfig build()