Class PasswordPolicyType
- java.lang.Object
-
- com.amazonaws.services.cognitoidp.model.PasswordPolicyType
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class PasswordPolicyType extends Object implements Serializable, Cloneable
The password policy type.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PasswordPolicyType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PasswordPolicyType
clone()
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.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.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.
-
-
-
Method Detail
-
setMinimumLength
public void setMinimumLength(Integer minimumLength)
The minimum length of the password policy that you have set. Cannot be less than 6.
- Parameters:
minimumLength
- The minimum length of the password policy that you have set. Cannot be less than 6.
-
getMinimumLength
public Integer getMinimumLength()
The minimum length of the password policy that you have set. Cannot be less than 6.
- Returns:
- The minimum length of the password policy that you have set. Cannot be less than 6.
-
withMinimumLength
public PasswordPolicyType withMinimumLength(Integer minimumLength)
The minimum length of the password policy that you have set. Cannot be less than 6.
- Parameters:
minimumLength
- The minimum length of the password policy that you have set. Cannot be less than 6.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRequireUppercase
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.
- Parameters:
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.
-
getRequireUppercase
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.
- Returns:
- 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.
-
withRequireUppercase
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
isRequireUppercase
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.
- Returns:
- 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.
-
setRequireLowercase
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.
- Parameters:
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.
-
getRequireLowercase
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.
- Returns:
- 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.
-
withRequireLowercase
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
isRequireLowercase
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.
- Returns:
- 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.
-
setRequireNumbers
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.
- Parameters:
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.
-
getRequireNumbers
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.
- Returns:
- In the password policy that you have set, refers to whether you have required users to use at least one number in their password.
-
withRequireNumbers
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
isRequireNumbers
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.
- Returns:
- In the password policy that you have set, refers to whether you have required users to use at least one number in their password.
-
setRequireSymbols
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.
- Parameters:
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.
-
getRequireSymbols
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.
- Returns:
- In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.
-
withRequireSymbols
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
isRequireSymbols
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.
- Returns:
- In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PasswordPolicyType clone()
-
-