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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserPoolPolicyType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserPoolPolicyType
clone()
boolean
equals(Object obj)
PasswordPolicyType
getPasswordPolicy()
A container with information about the user pool password policy.int
hashCode()
void
setPasswordPolicy(PasswordPolicyType passwordPolicy)
A container with information about the user pool password policy.String
toString()
Returns a string representation of this object; useful for testing and debugging.UserPoolPolicyType
withPasswordPolicy(PasswordPolicyType passwordPolicy)
A container with information about the user pool password policy.
-
-
-
Method Detail
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UserPoolPolicyType clone()
-
-