Class UpdateAccountPasswordPolicyRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.identitymanagement.model.UpdateAccountPasswordPolicyRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class UpdateAccountPasswordPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UpdateAccountPasswordPolicyRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateAccountPasswordPolicyRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)BooleangetAllowUsersToChangePassword()Allows all IAM users in your account to use the AWS Management Console to change their own passwords.BooleangetHardExpiry()Prevents IAM users from setting a new password after their password has expired.IntegergetMaxPasswordAge()The number of days that an IAM user password is valid.IntegergetMinimumPasswordLength()The minimum number of characters allowed in an IAM user password.IntegergetPasswordReusePrevention()Specifies the number of previous passwords that IAM users are prevented from reusing.BooleangetRequireLowercaseCharacters()Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z).BooleangetRequireNumbers()Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).BooleangetRequireSymbols()Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:BooleangetRequireUppercaseCharacters()Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z).inthashCode()BooleanisAllowUsersToChangePassword()Allows all IAM users in your account to use the AWS Management Console to change their own passwords.BooleanisHardExpiry()Prevents IAM users from setting a new password after their password has expired.BooleanisRequireLowercaseCharacters()Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z).BooleanisRequireNumbers()Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).BooleanisRequireSymbols()Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:BooleanisRequireUppercaseCharacters()Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z).voidsetAllowUsersToChangePassword(Boolean allowUsersToChangePassword)Allows all IAM users in your account to use the AWS Management Console to change their own passwords.voidsetHardExpiry(Boolean hardExpiry)Prevents IAM users from setting a new password after their password has expired.voidsetMaxPasswordAge(Integer maxPasswordAge)The number of days that an IAM user password is valid.voidsetMinimumPasswordLength(Integer minimumPasswordLength)The minimum number of characters allowed in an IAM user password.voidsetPasswordReusePrevention(Integer passwordReusePrevention)Specifies the number of previous passwords that IAM users are prevented from reusing.voidsetRequireLowercaseCharacters(Boolean requireLowercaseCharacters)Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z).voidsetRequireNumbers(Boolean requireNumbers)Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).voidsetRequireSymbols(Boolean requireSymbols)Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:voidsetRequireUppercaseCharacters(Boolean requireUppercaseCharacters)Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z).StringtoString()Returns a string representation of this object; useful for testing and debugging.UpdateAccountPasswordPolicyRequestwithAllowUsersToChangePassword(Boolean allowUsersToChangePassword)Allows all IAM users in your account to use the AWS Management Console to change their own passwords.UpdateAccountPasswordPolicyRequestwithHardExpiry(Boolean hardExpiry)Prevents IAM users from setting a new password after their password has expired.UpdateAccountPasswordPolicyRequestwithMaxPasswordAge(Integer maxPasswordAge)The number of days that an IAM user password is valid.UpdateAccountPasswordPolicyRequestwithMinimumPasswordLength(Integer minimumPasswordLength)The minimum number of characters allowed in an IAM user password.UpdateAccountPasswordPolicyRequestwithPasswordReusePrevention(Integer passwordReusePrevention)Specifies the number of previous passwords that IAM users are prevented from reusing.UpdateAccountPasswordPolicyRequestwithRequireLowercaseCharacters(Boolean requireLowercaseCharacters)Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z).UpdateAccountPasswordPolicyRequestwithRequireNumbers(Boolean requireNumbers)Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).UpdateAccountPasswordPolicyRequestwithRequireSymbols(Boolean requireSymbols)Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:UpdateAccountPasswordPolicyRequestwithRequireUppercaseCharacters(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
-
-
-
-
Method Detail
-
setMinimumPasswordLength
public void setMinimumPasswordLength(Integer minimumPasswordLength)
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
public Integer 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
public UpdateAccountPasswordPolicyRequest withMinimumPasswordLength(Integer minimumPasswordLength)
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
public void setRequireSymbols(Boolean requireSymbols)
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
public Boolean 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
public UpdateAccountPasswordPolicyRequest withRequireSymbols(Boolean requireSymbols)
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
public Boolean 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
public void setRequireNumbers(Boolean requireNumbers)
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
public Boolean 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
public UpdateAccountPasswordPolicyRequest withRequireNumbers(Boolean requireNumbers)
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
public Boolean 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
public 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).
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
public Boolean 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
public Boolean 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
public 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).
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
public Boolean 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
public Boolean 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
public void setAllowUsersToChangePassword(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
-
getAllowUsersToChangePassword
public Boolean 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
public Boolean 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
public void setMaxPasswordAge(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
- 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
public Integer 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
public UpdateAccountPasswordPolicyRequest withMaxPasswordAge(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
- 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
public void setPasswordReusePrevention(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
-
getPasswordReusePrevention
public Integer 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
public void setHardExpiry(Boolean hardExpiry)
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
public Boolean 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
public UpdateAccountPasswordPolicyRequest withHardExpiry(Boolean hardExpiry)
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
public Boolean 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateAccountPasswordPolicyRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-