public static interface PasswordPolicy.Builder extends SdkPojo, CopyableBuilder<PasswordPolicy.Builder,PasswordPolicy>
| Modifier and Type | Method and Description |
|---|---|
PasswordPolicy.Builder |
allowUsersToChangePassword(Boolean allowUsersToChangePassword)
Specifies whether IAM users are allowed to change their own password.
|
PasswordPolicy.Builder |
expirePasswords(Boolean expirePasswords)
Indicates whether passwords in the account expire.
|
PasswordPolicy.Builder |
hardExpiry(Boolean hardExpiry)
Specifies whether IAM users are prevented from setting a new password after their password has expired.
|
PasswordPolicy.Builder |
maxPasswordAge(Integer maxPasswordAge)
The number of days that an IAM user password is valid.
|
PasswordPolicy.Builder |
minimumPasswordLength(Integer minimumPasswordLength)
Minimum length to require for IAM user passwords.
|
PasswordPolicy.Builder |
passwordReusePrevention(Integer passwordReusePrevention)
Specifies the number of previous passwords that IAM users are prevented from reusing.
|
PasswordPolicy.Builder |
requireLowercaseCharacters(Boolean requireLowercaseCharacters)
Specifies whether IAM user passwords must contain at least one lowercase character (a to z).
|
PasswordPolicy.Builder |
requireNumbers(Boolean requireNumbers)
Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).
|
PasswordPolicy.Builder |
requireSymbols(Boolean requireSymbols)
Specifies whether IAM user passwords must contain at least one of the following symbols:
|
PasswordPolicy.Builder |
requireUppercaseCharacters(Boolean requireUppercaseCharacters)
Specifies whether IAM user passwords must contain at least one uppercase character (A to Z).
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPasswordPolicy.Builder minimumPasswordLength(Integer minimumPasswordLength)
Minimum length to require for IAM user passwords.
minimumPasswordLength - Minimum length to require for IAM user passwords.PasswordPolicy.Builder requireSymbols(Boolean requireSymbols)
Specifies whether IAM user passwords must contain at least one of the following symbols:
! @ # $ % ^ & * ( ) _ + - = [ ] { } | '
requireSymbols - Specifies whether IAM user passwords must contain at least one of the following symbols:
! @ # $ % ^ & * ( ) _ + - = [ ] { } | '
PasswordPolicy.Builder requireNumbers(Boolean requireNumbers)
Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).
requireNumbers - Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).PasswordPolicy.Builder requireUppercaseCharacters(Boolean requireUppercaseCharacters)
Specifies whether IAM user passwords must contain at least one uppercase character (A to Z).
requireUppercaseCharacters - Specifies whether IAM user passwords must contain at least one uppercase character (A to Z).PasswordPolicy.Builder requireLowercaseCharacters(Boolean requireLowercaseCharacters)
Specifies whether IAM user passwords must contain at least one lowercase character (a to z).
requireLowercaseCharacters - Specifies whether IAM user passwords must contain at least one lowercase character (a to z).PasswordPolicy.Builder allowUsersToChangePassword(Boolean allowUsersToChangePassword)
Specifies whether IAM users are allowed to change their own password.
allowUsersToChangePassword - Specifies whether IAM users are allowed to change their own password.PasswordPolicy.Builder expirePasswords(Boolean expirePasswords)
Indicates whether passwords in the account expire. Returns true if MaxPasswordAge contains a
value greater than 0. Returns false if MaxPasswordAge is 0 or not present.
expirePasswords - Indicates whether passwords in the account expire. Returns true if MaxPasswordAge
contains a value greater than 0. Returns false if MaxPasswordAge is 0 or not present.PasswordPolicy.Builder maxPasswordAge(Integer maxPasswordAge)
The number of days that an IAM user password is valid.
maxPasswordAge - The number of days that an IAM user password is valid.PasswordPolicy.Builder passwordReusePrevention(Integer passwordReusePrevention)
Specifies the number of previous passwords that IAM users are prevented from reusing.
passwordReusePrevention - Specifies the number of previous passwords that IAM users are prevented from reusing.PasswordPolicy.Builder hardExpiry(Boolean hardExpiry)
Specifies whether IAM users are prevented from setting a new password after their password has expired.
hardExpiry - Specifies whether IAM users are prevented from setting a new password after their password has
expired.Copyright © 2021. All rights reserved.