Class UserPoolPolicyType

java.lang.Object
com.amazonaws.services.cognitoidp.model.UserPoolPolicyType
All Implemented Interfaces:
Serializable, Cloneable

public class UserPoolPolicyType extends Object implements Serializable, Cloneable

The type of policy in a user pool.

See Also:
  • Constructor Details

    • UserPoolPolicyType

      public UserPoolPolicyType()
  • Method Details

    • setPasswordPolicy

      public void setPasswordPolicy(PasswordPolicyType passwordPolicy)

      A container with information about the user pool password policy.

      Parameters:
      passwordPolicy - A container with information about the user pool password policy.
    • getPasswordPolicy

      public PasswordPolicyType getPasswordPolicy()

      A container with information about the user pool password policy.

      Returns:
      A container with information about the user pool password policy.
    • withPasswordPolicy

      public UserPoolPolicyType withPasswordPolicy(PasswordPolicyType passwordPolicy)

      A container with information about the user pool password policy.

      Parameters:
      passwordPolicy - A container with information about the user pool password policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 UserPoolPolicyType clone()
      Overrides:
      clone in class Object