Class UpdateAccountPasswordPolicyRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
Allows all IAM users in your account to use the AWS Management Console to change their own passwords.Prevents IAM users from setting a new password after their password has expired.The number of days that an IAM user password is valid.The minimum number of characters allowed in an IAM user password.Specifies the number of previous passwords that IAM users are prevented from reusing.Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z).Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z).int
hashCode()
Allows all IAM users in your account to use the AWS Management Console to change their own passwords.Prevents IAM users from setting a new password after their password has expired.Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z).Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z).void
setAllowUsersToChangePassword
(Boolean allowUsersToChangePassword) Allows all IAM users in your account to use the AWS Management Console to change their own passwords.void
setHardExpiry
(Boolean hardExpiry) Prevents IAM users from setting a new password after their password has expired.void
setMaxPasswordAge
(Integer maxPasswordAge) The number of days that an IAM user password is valid.void
setMinimumPasswordLength
(Integer minimumPasswordLength) The minimum number of characters allowed in an IAM user password.void
setPasswordReusePrevention
(Integer passwordReusePrevention) Specifies the number of previous passwords that IAM users are prevented from reusing.void
setRequireLowercaseCharacters
(Boolean requireLowercaseCharacters) Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z).void
setRequireNumbers
(Boolean requireNumbers) Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).void
setRequireSymbols
(Boolean requireSymbols) Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:void
setRequireUppercaseCharacters
(Boolean requireUppercaseCharacters) Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z).toString()
Returns a string representation of this object; useful for testing and debugging.withAllowUsersToChangePassword
(Boolean allowUsersToChangePassword) Allows all IAM users in your account to use the AWS Management Console to change their own passwords.withHardExpiry
(Boolean hardExpiry) Prevents IAM users from setting a new password after their password has expired.withMaxPasswordAge
(Integer maxPasswordAge) The number of days that an IAM user password is valid.withMinimumPasswordLength
(Integer minimumPasswordLength) The minimum number of characters allowed in an IAM user password.withPasswordReusePrevention
(Integer passwordReusePrevention) Specifies the number of previous passwords that IAM users are prevented from reusing.withRequireLowercaseCharacters
(Boolean requireLowercaseCharacters) Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z).withRequireNumbers
(Boolean requireNumbers) Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).withRequireSymbols
(Boolean requireSymbols) Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:withRequireUppercaseCharacters
(Boolean requireUppercaseCharacters) Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z).Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
UpdateAccountPasswordPolicyRequest
public UpdateAccountPasswordPolicyRequest()
-
-
Method Details
-
setMinimumPasswordLength
The minimum number of characters allowed in an IAM user password.
Default value: 6
- Parameters:
minimumPasswordLength
- The minimum number of characters allowed in an IAM user password.Default value: 6
-
getMinimumPasswordLength
The minimum number of characters allowed in an IAM user password.
Default value: 6
- Returns:
- The minimum number of characters allowed in an IAM user
password.
Default value: 6
-
withMinimumPasswordLength
The minimum number of characters allowed in an IAM user password.
Default value: 6
- Parameters:
minimumPasswordLength
- The minimum number of characters allowed in an IAM user password.Default value: 6
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRequireSymbols
Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:
! @ # $ % ^ & * ( ) _ + - = [ ] { } | '
Default value: false
- Parameters:
requireSymbols
- Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:! @ # $ % ^ & * ( ) _ + - = [ ] { } | '
Default value: false
-
getRequireSymbols
Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:
! @ # $ % ^ & * ( ) _ + - = [ ] { } | '
Default value: false
- Returns:
- Specifies whether IAM user passwords must contain at least one of
the following non-alphanumeric characters:
! @ # $ % ^ & * ( ) _ + - = [ ] { } | '
Default value: false
-
withRequireSymbols
Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:
! @ # $ % ^ & * ( ) _ + - = [ ] { } | '
Default value: false
- Parameters:
requireSymbols
- Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:! @ # $ % ^ & * ( ) _ + - = [ ] { } | '
Default value: false
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isRequireSymbols
Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:
! @ # $ % ^ & * ( ) _ + - = [ ] { } | '
Default value: false
- Returns:
- Specifies whether IAM user passwords must contain at least one of
the following non-alphanumeric characters:
! @ # $ % ^ & * ( ) _ + - = [ ] { } | '
Default value: false
-
setRequireNumbers
Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).
Default value: false
- Parameters:
requireNumbers
- Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).Default value: false
-
getRequireNumbers
Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).
Default value: false
- Returns:
- Specifies whether IAM user passwords must contain at least one
numeric character (0 to 9).
Default value: false
-
withRequireNumbers
Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).
Default value: false
- Parameters:
requireNumbers
- Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).Default value: false
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isRequireNumbers
Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).
Default value: false
- Returns:
- Specifies whether IAM user passwords must contain at least one
numeric character (0 to 9).
Default value: false
-
setRequireUppercaseCharacters
Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z).
Default value: false
- Parameters:
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
-
getRequireUppercaseCharacters
Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z).
Default value: false
- Returns:
- Specifies whether IAM user passwords must contain at least one
uppercase character from the ISO basic Latin alphabet (A to
Z).
Default value: false
-
withRequireUppercaseCharacters
public UpdateAccountPasswordPolicyRequest withRequireUppercaseCharacters(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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isRequireUppercaseCharacters
Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z).
Default value: false
- Returns:
- Specifies whether IAM user passwords must contain at least one
uppercase character from the ISO basic Latin alphabet (A to
Z).
Default value: false
-
setRequireLowercaseCharacters
Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z).
Default value: false
- Parameters:
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
-
getRequireLowercaseCharacters
Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z).
Default value: false
- Returns:
- Specifies whether IAM user passwords must contain at least one
lowercase character from the ISO basic Latin alphabet (a to
z).
Default value: false
-
withRequireLowercaseCharacters
public UpdateAccountPasswordPolicyRequest withRequireLowercaseCharacters(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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isRequireLowercaseCharacters
Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z).
Default value: false
- Returns:
- Specifies whether IAM user passwords must contain at least one
lowercase character from the ISO basic Latin alphabet (a to
z).
Default value: false
-
setAllowUsersToChangePassword
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
- Parameters:
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
-
getAllowUsersToChangePassword
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
- Returns:
- 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
-
withAllowUsersToChangePassword
public UpdateAccountPasswordPolicyRequest withAllowUsersToChangePassword(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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAllowUsersToChangePassword
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
- Returns:
- 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
-
setMaxPasswordAge
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
- Parameters:
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
-
getMaxPasswordAge
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
- Returns:
- 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
-
withMaxPasswordAge
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPasswordReusePrevention
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
- Parameters:
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
-
getPasswordReusePrevention
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
- Returns:
- 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
-
withPasswordReusePrevention
public UpdateAccountPasswordPolicyRequest withPasswordReusePrevention(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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHardExpiry
Prevents IAM users from setting a new password after their password has expired.
Default value: false
- Parameters:
hardExpiry
- Prevents IAM users from setting a new password after their password has expired.Default value: false
-
getHardExpiry
Prevents IAM users from setting a new password after their password has expired.
Default value: false
- Returns:
- Prevents IAM users from setting a new password after their
password has expired.
Default value: false
-
withHardExpiry
Prevents IAM users from setting a new password after their password has expired.
Default value: false
- Parameters:
hardExpiry
- Prevents IAM users from setting a new password after their password has expired.Default value: false
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isHardExpiry
Prevents IAM users from setting a new password after their password has expired.
Default value: false
- Returns:
- Prevents IAM users from setting a new password after their
password has expired.
Default value: false
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-