public class PasswordPolicyType extends Object implements Serializable
The password policy type.
| Constructor and Description |
|---|
PasswordPolicyType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getMinimumLength()
The minimum length of the password policy that you have set.
|
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.
|
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.
|
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.
|
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.
|
Integer |
getTemporaryPasswordValidityDays()
In the password policy you have set, refers to the number of days a
temporary password is valid.
|
int |
hashCode() |
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.
|
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.
|
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.
|
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(Integer minimumLength)
The minimum length of the password policy that you have set.
|
void |
setRequireLowercase(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(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(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(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(Integer temporaryPasswordValidityDays)
In the password policy you have set, refers to the number of days a
temporary password is valid.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PasswordPolicyType |
withMinimumLength(Integer minimumLength)
The minimum length of the password policy that you have set.
|
PasswordPolicyType |
withRequireLowercase(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(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(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(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(Integer temporaryPasswordValidityDays)
In the password policy you have set, refers to the number of days a
temporary password is valid.
|
public Integer getMinimumLength()
The minimum length of the password policy that you have set. Cannot be less than 6.
Constraints:
Range: 6 - 99
The minimum length of the password policy that you have set. Cannot be less than 6.
public void setMinimumLength(Integer minimumLength)
The minimum length of the password policy that you have set. Cannot be less than 6.
Constraints:
Range: 6 - 99
minimumLength - The minimum length of the password policy that you have set. Cannot be less than 6.
public PasswordPolicyType withMinimumLength(Integer minimumLength)
The minimum length of the password policy that you have set. Cannot 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 policy that you have set. Cannot be less than 6.
public 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 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(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(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 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 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(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(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 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 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(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(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 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 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(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(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 Integer getTemporaryPasswordValidityDays()
In the password policy you have set, refers to the number of days a temporary password is valid. If the user does not sign-in during this time, their password will need to be reset by an administrator.
When you set TemporaryPasswordValidityDays for a user pool,
you will no longer be able to set the deprecated
UnusedAccountValidityDays value for that user pool.
Constraints:
Range: 0 - 365
In the password policy you have set, refers to the number of days a temporary password is valid. If the user does not sign-in during this time, their password will need to be reset by an administrator.
When you set TemporaryPasswordValidityDays for a
user pool, you will no longer be able to set the deprecated
UnusedAccountValidityDays value for that user pool.
public void setTemporaryPasswordValidityDays(Integer temporaryPasswordValidityDays)
In the password policy you have set, refers to the number of days a temporary password is valid. If the user does not sign-in during this time, their password will need to be reset by an administrator.
When you set TemporaryPasswordValidityDays for a user pool,
you will no longer be able to set the deprecated
UnusedAccountValidityDays value for that user pool.
Constraints:
Range: 0 - 365
temporaryPasswordValidityDays - In the password policy you have set, refers to the number of days a temporary password is valid. If the user does not sign-in during this time, their password will need to be reset by an administrator.
When you set TemporaryPasswordValidityDays for a
user pool, you will no longer be able to set the deprecated
UnusedAccountValidityDays value for that user
pool.
public PasswordPolicyType withTemporaryPasswordValidityDays(Integer temporaryPasswordValidityDays)
In the password policy you have set, refers to the number of days a temporary password is valid. If the user does not sign-in during this time, their password will need to be reset by an administrator.
When you set TemporaryPasswordValidityDays for a user pool,
you will no longer be able to set the deprecated
UnusedAccountValidityDays value for that user pool.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 365
temporaryPasswordValidityDays - In the password policy you have set, refers to the number of days a temporary password is valid. If the user does not sign-in during this time, their password will need to be reset by an administrator.
When you set TemporaryPasswordValidityDays for a
user pool, you will no longer be able to set the deprecated
UnusedAccountValidityDays value for that user
pool.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.