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:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
    The minimum length of the password policy that you have set.
    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 number 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.
    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
     
    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 number 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.
    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.
    Returns a string representation of this object; useful for testing and debugging.
    withMinimumLength(Integer minimumLength)
    The minimum length of the password policy that you have set.
    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.
    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.
    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.
    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.

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PasswordPolicyType

      public PasswordPolicyType()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public PasswordPolicyType clone()
      Overrides:
      clone in class Object