public static interface UpdateAccountPasswordPolicyRequest.Builder extends IamRequest.Builder, CopyableBuilder<UpdateAccountPasswordPolicyRequest.Builder,UpdateAccountPasswordPolicyRequest>
Modifier and Type | Method and Description |
---|---|
UpdateAccountPasswordPolicyRequest.Builder |
allowUsersToChangePassword(Boolean allowUsersToChangePassword)
Allows all IAM users in your account to use the AWS Management Console to change their own passwords.
|
UpdateAccountPasswordPolicyRequest.Builder |
hardExpiry(Boolean hardExpiry)
Prevents IAM users from setting a new password after their password has expired.
|
UpdateAccountPasswordPolicyRequest.Builder |
maxPasswordAge(Integer maxPasswordAge)
The number of days that an IAM user password is valid.
|
UpdateAccountPasswordPolicyRequest.Builder |
minimumPasswordLength(Integer minimumPasswordLength)
The minimum number of characters allowed in an IAM user password.
|
UpdateAccountPasswordPolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateAccountPasswordPolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateAccountPasswordPolicyRequest.Builder |
passwordReusePrevention(Integer passwordReusePrevention)
Specifies the number of previous passwords that IAM users are prevented from reusing.
|
UpdateAccountPasswordPolicyRequest.Builder |
requireLowercaseCharacters(Boolean requireLowercaseCharacters)
Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin
alphabet (a to z).
|
UpdateAccountPasswordPolicyRequest.Builder |
requireNumbers(Boolean requireNumbers)
Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).
|
UpdateAccountPasswordPolicyRequest.Builder |
requireSymbols(Boolean requireSymbols)
Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:
|
UpdateAccountPasswordPolicyRequest.Builder |
requireUppercaseCharacters(Boolean requireUppercaseCharacters)
Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin
alphabet (A to Z).
|
build
overrideConfiguration
copy
applyMutation, build
UpdateAccountPasswordPolicyRequest.Builder minimumPasswordLength(Integer minimumPasswordLength)
The minimum number of characters allowed in an IAM user password.
Default value: 6
minimumPasswordLength
- The minimum number of characters allowed in an IAM user password.
Default value: 6
UpdateAccountPasswordPolicyRequest.Builder requireSymbols(Boolean requireSymbols)
Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:
! @ # $ % ^ & * ( ) _ + - = [ ] { } | '
Default value: false
requireSymbols
- Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric
characters:
! @ # $ % ^ & * ( ) _ + - = [ ] { } | '
Default value: false
UpdateAccountPasswordPolicyRequest.Builder requireNumbers(Boolean requireNumbers)
Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).
Default value: false
requireNumbers
- Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).
Default value: false
UpdateAccountPasswordPolicyRequest.Builder requireUppercaseCharacters(Boolean requireUppercaseCharacters)
Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z).
Default value: false
requireUppercaseCharacters
- Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic
Latin alphabet (A to Z).
Default value: false
UpdateAccountPasswordPolicyRequest.Builder requireLowercaseCharacters(Boolean requireLowercaseCharacters)
Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z).
Default value: false
requireLowercaseCharacters
- Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic
Latin alphabet (a to z).
Default value: false
UpdateAccountPasswordPolicyRequest.Builder allowUsersToChangePassword(Boolean allowUsersToChangePassword)
Allows all IAM users in your account to use the AWS Management Console to change their own passwords. For more information, see Letting IAM Users Change Their Own Passwords in the IAM User Guide.
Default value: false
allowUsersToChangePassword
- Allows all IAM users in your account to use the AWS Management Console to change their own passwords.
For more information, see Letting IAM Users Change
Their Own Passwords in the IAM User Guide.
Default value: false
UpdateAccountPasswordPolicyRequest.Builder maxPasswordAge(Integer maxPasswordAge)
The number of days that an IAM user password is valid. The default value of 0 means IAM user passwords never expire.
Default value: 0
maxPasswordAge
- The number of days that an IAM user password is valid. The default value of 0 means IAM user passwords
never expire.
Default value: 0
UpdateAccountPasswordPolicyRequest.Builder passwordReusePrevention(Integer passwordReusePrevention)
Specifies the number of previous passwords that IAM users are prevented from reusing. The default value of 0 means IAM users are not prevented from reusing previous passwords.
Default value: 0
passwordReusePrevention
- Specifies the number of previous passwords that IAM users are prevented from reusing. The default
value of 0 means IAM users are not prevented from reusing previous passwords.
Default value: 0
UpdateAccountPasswordPolicyRequest.Builder hardExpiry(Boolean hardExpiry)
Prevents IAM users from setting a new password after their password has expired.
Default value: false
hardExpiry
- Prevents IAM users from setting a new password after their password has expired.
Default value: false
UpdateAccountPasswordPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateAccountPasswordPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.