public static interface PasswordPolicy.Builder extends 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 to require lowercase characters for IAM user passwords.
|
PasswordPolicy.Builder |
requireNumbers(Boolean requireNumbers)
Specifies whether to require numbers for IAM user passwords.
|
PasswordPolicy.Builder |
requireSymbols(Boolean requireSymbols)
Specifies whether to require symbols for IAM user passwords.
|
PasswordPolicy.Builder |
requireUppercaseCharacters(Boolean requireUppercaseCharacters)
Specifies whether to require uppercase characters for IAM user passwords.
|
copy
applyMutation, build
PasswordPolicy.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 to require symbols for IAM user passwords.
requireSymbols
- Specifies whether to require symbols for IAM user passwords.PasswordPolicy.Builder requireNumbers(Boolean requireNumbers)
Specifies whether to require numbers for IAM user passwords.
requireNumbers
- Specifies whether to require numbers for IAM user passwords.PasswordPolicy.Builder requireUppercaseCharacters(Boolean requireUppercaseCharacters)
Specifies whether to require uppercase characters for IAM user passwords.
requireUppercaseCharacters
- Specifies whether to require uppercase characters for IAM user passwords.PasswordPolicy.Builder requireLowercaseCharacters(Boolean requireLowercaseCharacters)
Specifies whether to require lowercase characters for IAM user passwords.
requireLowercaseCharacters
- Specifies whether to require lowercase characters for IAM user passwords.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 is 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 is 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.