|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.identitymanagement.model.PasswordPolicy
public class PasswordPolicy
The PasswordPolicy data type contains information about the account password policy.
This data type is used as a response element in the action GetAccountPasswordPolicy.
Constructor Summary | |
---|---|
PasswordPolicy()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Boolean |
getAllowUsersToChangePassword()
Specifies whether to allow IAM users to change their own password. |
Boolean |
getExpirePasswords()
Returns the value of the ExpirePasswords property for this object. |
Integer |
getMaxPasswordAge()
Returns the value of the MaxPasswordAge property for this object. |
Integer |
getMinimumPasswordLength()
Minimum length to require for IAM user passwords. |
Boolean |
getRequireLowercaseCharacters()
Specifies whether to require lowercase characters for IAM user passwords. |
Boolean |
getRequireNumbers()
Specifies whether to require numbers for IAM user passwords. |
Boolean |
getRequireSymbols()
Specifies whether to require symbols for IAM user passwords. |
Boolean |
getRequireUppercaseCharacters()
Specifies whether to require uppercase characters for IAM user passwords. |
int |
hashCode()
|
Boolean |
isAllowUsersToChangePassword()
Specifies whether to allow IAM users to change their own password. |
Boolean |
isExpirePasswords()
Returns the value of the ExpirePasswords property for this object. |
Boolean |
isRequireLowercaseCharacters()
Specifies whether to require lowercase characters for IAM user passwords. |
Boolean |
isRequireNumbers()
Specifies whether to require numbers for IAM user passwords. |
Boolean |
isRequireSymbols()
Specifies whether to require symbols for IAM user passwords. |
Boolean |
isRequireUppercaseCharacters()
Specifies whether to require uppercase characters for IAM user passwords. |
void |
setAllowUsersToChangePassword(Boolean allowUsersToChangePassword)
Specifies whether to allow IAM users to change their own password. |
void |
setExpirePasswords(Boolean expirePasswords)
Sets the value of the ExpirePasswords property for this object. |
void |
setMaxPasswordAge(Integer maxPasswordAge)
Sets the value of the MaxPasswordAge property for this object. |
void |
setMinimumPasswordLength(Integer minimumPasswordLength)
Minimum length to require for IAM user passwords. |
void |
setRequireLowercaseCharacters(Boolean requireLowercaseCharacters)
Specifies whether to require lowercase characters for IAM user passwords. |
void |
setRequireNumbers(Boolean requireNumbers)
Specifies whether to require numbers for IAM user passwords. |
void |
setRequireSymbols(Boolean requireSymbols)
Specifies whether to require symbols for IAM user passwords. |
void |
setRequireUppercaseCharacters(Boolean requireUppercaseCharacters)
Specifies whether to require uppercase characters for IAM user passwords. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
PasswordPolicy |
withAllowUsersToChangePassword(Boolean allowUsersToChangePassword)
Specifies whether to allow IAM users to change their own password. |
PasswordPolicy |
withExpirePasswords(Boolean expirePasswords)
Sets the value of the ExpirePasswords property for this object. |
PasswordPolicy |
withMaxPasswordAge(Integer maxPasswordAge)
Sets the value of the MaxPasswordAge property for this object. |
PasswordPolicy |
withMinimumPasswordLength(Integer minimumPasswordLength)
Minimum length to require for IAM user passwords. |
PasswordPolicy |
withRequireLowercaseCharacters(Boolean requireLowercaseCharacters)
Specifies whether to require lowercase characters for IAM user passwords. |
PasswordPolicy |
withRequireNumbers(Boolean requireNumbers)
Specifies whether to require numbers for IAM user passwords. |
PasswordPolicy |
withRequireSymbols(Boolean requireSymbols)
Specifies whether to require symbols for IAM user passwords. |
PasswordPolicy |
withRequireUppercaseCharacters(Boolean requireUppercaseCharacters)
Specifies whether to require uppercase characters for IAM user passwords. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PasswordPolicy()
Method Detail |
---|
public Integer getMinimumPasswordLength()
Constraints:
Range: 6 - 128
public void setMinimumPasswordLength(Integer minimumPasswordLength)
Constraints:
Range: 6 - 128
minimumPasswordLength
- Minimum length to require for IAM user passwords.public PasswordPolicy withMinimumPasswordLength(Integer minimumPasswordLength)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 6 - 128
minimumPasswordLength
- Minimum length to require for IAM user passwords.
public Boolean isRequireSymbols()
public void setRequireSymbols(Boolean requireSymbols)
requireSymbols
- Specifies whether to require symbols for IAM user passwords.public PasswordPolicy withRequireSymbols(Boolean requireSymbols)
Returns a reference to this object so that method calls can be chained together.
requireSymbols
- Specifies whether to require symbols for IAM user passwords.
public Boolean getRequireSymbols()
public Boolean isRequireNumbers()
public void setRequireNumbers(Boolean requireNumbers)
requireNumbers
- Specifies whether to require numbers for IAM user passwords.public PasswordPolicy withRequireNumbers(Boolean requireNumbers)
Returns a reference to this object so that method calls can be chained together.
requireNumbers
- Specifies whether to require numbers for IAM user passwords.
public Boolean getRequireNumbers()
public Boolean isRequireUppercaseCharacters()
public void setRequireUppercaseCharacters(Boolean requireUppercaseCharacters)
requireUppercaseCharacters
- Specifies whether to require uppercase characters for IAM user
passwords.public PasswordPolicy withRequireUppercaseCharacters(Boolean requireUppercaseCharacters)
Returns a reference to this object so that method calls can be chained together.
requireUppercaseCharacters
- Specifies whether to require uppercase characters for IAM user
passwords.
public Boolean getRequireUppercaseCharacters()
public Boolean isRequireLowercaseCharacters()
public void setRequireLowercaseCharacters(Boolean requireLowercaseCharacters)
requireLowercaseCharacters
- Specifies whether to require lowercase characters for IAM user
passwords.public PasswordPolicy withRequireLowercaseCharacters(Boolean requireLowercaseCharacters)
Returns a reference to this object so that method calls can be chained together.
requireLowercaseCharacters
- Specifies whether to require lowercase characters for IAM user
passwords.
public Boolean getRequireLowercaseCharacters()
public Boolean isAllowUsersToChangePassword()
public void setAllowUsersToChangePassword(Boolean allowUsersToChangePassword)
allowUsersToChangePassword
- Specifies whether to allow IAM users to change their own password.public PasswordPolicy withAllowUsersToChangePassword(Boolean allowUsersToChangePassword)
Returns a reference to this object so that method calls can be chained together.
allowUsersToChangePassword
- Specifies whether to allow IAM users to change their own password.
public Boolean getAllowUsersToChangePassword()
public Boolean isExpirePasswords()
public void setExpirePasswords(Boolean expirePasswords)
expirePasswords
- The new value for the ExpirePasswords property for this object.public PasswordPolicy withExpirePasswords(Boolean expirePasswords)
Returns a reference to this object so that method calls can be chained together.
expirePasswords
- The new value for the ExpirePasswords property for this object.
public Boolean getExpirePasswords()
public Integer getMaxPasswordAge()
public void setMaxPasswordAge(Integer maxPasswordAge)
maxPasswordAge
- The new value for the MaxPasswordAge property for this object.public PasswordPolicy withMaxPasswordAge(Integer maxPasswordAge)
Returns a reference to this object so that method calls can be chained together.
maxPasswordAge
- The new value for the MaxPasswordAge property for this object.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |