Class AttributeType
- java.lang.Object
-
- com.amazonaws.services.cognitoidp.model.AttributeType
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class AttributeType extends Object implements Serializable, Cloneable
Specifies whether the attribute is standard or custom.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AttributeType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeType
clone()
boolean
equals(Object obj)
String
getName()
The name of the attribute.String
getValue()
The value of the attribute.int
hashCode()
void
setName(String name)
The name of the attribute.void
setValue(String value)
The value of the attribute.String
toString()
Returns a string representation of this object; useful for testing and debugging.AttributeType
withName(String name)
The name of the attribute.AttributeType
withValue(String value)
The value of the attribute.
-
-
-
Method Detail
-
setName
public void setName(String name)
The name of the attribute.
- Parameters:
name
- The name of the attribute.
-
getName
public String getName()
The name of the attribute.
- Returns:
- The name of the attribute.
-
withName
public AttributeType withName(String name)
The name of the attribute.
- Parameters:
name
- The name of the attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setValue
public void setValue(String value)
The value of the attribute.
- Parameters:
value
- The value of the attribute.
-
getValue
public String getValue()
The value of the attribute.
- Returns:
- The value of the attribute.
-
withValue
public AttributeType withValue(String value)
The value of the attribute.
- Parameters:
value
- The value of the attribute.- 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 AttributeType clone()
-
-