public class PasswordPolicyType
extends java.lang.Object
implements java.io.Serializable
The password policy type.
| Constructor and Description |
|---|
PasswordPolicyType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getMinimumLength()
The minimum length of the password in the policy that you have set.
|
java.lang.Boolean |
getRequireLowercase()
In the password policy that you have set, refers to whether you have
required users to use at least one lowercase letter in their password.
|
java.lang.Boolean |
getRequireNumbers()
In the password policy that you have set, refers to whether you have
required users to use at least one number in their password.
|
java.lang.Boolean |
getRequireSymbols()
In the password policy that you have set, refers to whether you have
required users to use at least one symbol in their password.
|
java.lang.Boolean |
getRequireUppercase()
In the password policy that you have set, refers to whether you have
required users to use at least one uppercase letter in their password.
|
java.lang.Integer |
getTemporaryPasswordValidityDays()
The number of days a temporary password is valid in the password policy.
|
int |
hashCode() |
java.lang.Boolean |
isRequireLowercase()
In the password policy that you have set, refers to whether you have
required users to use at least one lowercase letter in their password.
|
java.lang.Boolean |
isRequireNumbers()
In the password policy that you have set, refers to whether you have
required users to use at least one number in their password.
|
java.lang.Boolean |
isRequireSymbols()
In the password policy that you have set, refers to whether you have
required users to use at least one symbol in their password.
|
java.lang.Boolean |
isRequireUppercase()
In the password policy that you have set, refers to whether you have
required users to use at least one uppercase letter in their password.
|
void |
setMinimumLength(java.lang.Integer minimumLength)
The minimum length of the password in the policy that you have set.
|
void |
setRequireLowercase(java.lang.Boolean requireLowercase)
In the password policy that you have set, refers to whether you have
required users to use at least one lowercase letter in their password.
|
void |
setRequireNumbers(java.lang.Boolean requireNumbers)
In the password policy that you have set, refers to whether you have
required users to use at least one number in their password.
|
void |
setRequireSymbols(java.lang.Boolean requireSymbols)
In the password policy that you have set, refers to whether you have
required users to use at least one symbol in their password.
|
void |
setRequireUppercase(java.lang.Boolean requireUppercase)
In the password policy that you have set, refers to whether you have
required users to use at least one uppercase letter in their password.
|
void |
setTemporaryPasswordValidityDays(java.lang.Integer temporaryPasswordValidityDays)
The number of days a temporary password is valid in the password policy.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PasswordPolicyType |
withMinimumLength(java.lang.Integer minimumLength)
The minimum length of the password in the policy that you have set.
|
PasswordPolicyType |
withRequireLowercase(java.lang.Boolean requireLowercase)
In the password policy that you have set, refers to whether you have
required users to use at least one lowercase letter in their password.
|
PasswordPolicyType |
withRequireNumbers(java.lang.Boolean requireNumbers)
In the password policy that you have set, refers to whether you have
required users to use at least one number in their password.
|
PasswordPolicyType |
withRequireSymbols(java.lang.Boolean requireSymbols)
In the password policy that you have set, refers to whether you have
required users to use at least one symbol in their password.
|
PasswordPolicyType |
withRequireUppercase(java.lang.Boolean requireUppercase)
In the password policy that you have set, refers to whether you have
required users to use at least one uppercase letter in their password.
|
PasswordPolicyType |
withTemporaryPasswordValidityDays(java.lang.Integer temporaryPasswordValidityDays)
The number of days a temporary password is valid in the password policy.
|
public java.lang.Integer getMinimumLength()
The minimum length of the password in the policy that you have set. This value can't be less than 6.
Constraints:
Range: 6 - 99
The minimum length of the password in the policy that you have set. This value can't be less than 6.
public void setMinimumLength(java.lang.Integer minimumLength)
The minimum length of the password in the policy that you have set. This value can't be less than 6.
Constraints:
Range: 6 - 99
minimumLength - The minimum length of the password in the policy that you have set. This value can't be less than 6.
public PasswordPolicyType withMinimumLength(java.lang.Integer minimumLength)
The minimum length of the password in the policy that you have set. This value can't be less than 6.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 6 - 99
minimumLength - The minimum length of the password in the policy that you have set. This value can't be less than 6.
public java.lang.Boolean isRequireUppercase()
In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.
In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.
public java.lang.Boolean getRequireUppercase()
In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.
In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.
public void setRequireUppercase(java.lang.Boolean requireUppercase)
In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.
requireUppercase - In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.
public PasswordPolicyType withRequireUppercase(java.lang.Boolean requireUppercase)
In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.
Returns a reference to this object so that method calls can be chained together.
requireUppercase - In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.
public java.lang.Boolean isRequireLowercase()
In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.
In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.
public java.lang.Boolean getRequireLowercase()
In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.
In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.
public void setRequireLowercase(java.lang.Boolean requireLowercase)
In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.
requireLowercase - In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.
public PasswordPolicyType withRequireLowercase(java.lang.Boolean requireLowercase)
In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.
Returns a reference to this object so that method calls can be chained together.
requireLowercase - In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.
public java.lang.Boolean isRequireNumbers()
In the password policy that you have set, refers to whether you have required users to use at least one number in their password.
In the password policy that you have set, refers to whether you have required users to use at least one number in their password.
public java.lang.Boolean getRequireNumbers()
In the password policy that you have set, refers to whether you have required users to use at least one number in their password.
In the password policy that you have set, refers to whether you have required users to use at least one number in their password.
public void setRequireNumbers(java.lang.Boolean requireNumbers)
In the password policy that you have set, refers to whether you have required users to use at least one number in their password.
requireNumbers - In the password policy that you have set, refers to whether you have required users to use at least one number in their password.
public PasswordPolicyType withRequireNumbers(java.lang.Boolean requireNumbers)
In the password policy that you have set, refers to whether you have required users to use at least one number in their password.
Returns a reference to this object so that method calls can be chained together.
requireNumbers - In the password policy that you have set, refers to whether you have required users to use at least one number in their password.
public java.lang.Boolean isRequireSymbols()
In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.
In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.
public java.lang.Boolean getRequireSymbols()
In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.
In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.
public void setRequireSymbols(java.lang.Boolean requireSymbols)
In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.
requireSymbols - In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.
public PasswordPolicyType withRequireSymbols(java.lang.Boolean requireSymbols)
In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.
Returns a reference to this object so that method calls can be chained together.
requireSymbols - In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.
public java.lang.Integer getTemporaryPasswordValidityDays()
The number of days a temporary password is valid in the password policy. If the user doesn't sign in during this time, an administrator must reset their password.
When you set TemporaryPasswordValidityDays for a user pool,
you can no longer set a value for the legacy
UnusedAccountValidityDays parameter in that user pool.
Constraints:
Range: 0 - 365
The number of days a temporary password is valid in the password policy. If the user doesn't sign in during this time, an administrator must reset their password.
When you set TemporaryPasswordValidityDays for a
user pool, you can no longer set a value for the legacy
UnusedAccountValidityDays parameter in that user
pool.
public void setTemporaryPasswordValidityDays(java.lang.Integer temporaryPasswordValidityDays)
The number of days a temporary password is valid in the password policy. If the user doesn't sign in during this time, an administrator must reset their password.
When you set TemporaryPasswordValidityDays for a user pool,
you can no longer set a value for the legacy
UnusedAccountValidityDays parameter in that user pool.
Constraints:
Range: 0 - 365
temporaryPasswordValidityDays - The number of days a temporary password is valid in the password policy. If the user doesn't sign in during this time, an administrator must reset their password.
When you set TemporaryPasswordValidityDays for a
user pool, you can no longer set a value for the legacy
UnusedAccountValidityDays parameter in that user
pool.
public PasswordPolicyType withTemporaryPasswordValidityDays(java.lang.Integer temporaryPasswordValidityDays)
The number of days a temporary password is valid in the password policy. If the user doesn't sign in during this time, an administrator must reset their password.
When you set TemporaryPasswordValidityDays for a user pool,
you can no longer set a value for the legacy
UnusedAccountValidityDays parameter in that user pool.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 365
temporaryPasswordValidityDays - The number of days a temporary password is valid in the password policy. If the user doesn't sign in during this time, an administrator must reset their password.
When you set TemporaryPasswordValidityDays for a
user pool, you can no longer set a value for the legacy
UnusedAccountValidityDays parameter in that user
pool.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object