@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Identity extends Object implements Serializable, Cloneable, StructuredPojo
The details of a user.
| Constructor and Description | 
|---|
| Identity() | 
| Modifier and Type | Method and Description | 
|---|---|
| Identity | clone() | 
| boolean | equals(Object obj) | 
| String | getArn()
 The ARN in an Identity. | 
| String | getName()
 The name in an Identity. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setArn(String arn)
 The ARN in an Identity. | 
| void | setName(String name)
 The name in an Identity. | 
| String | toString()Returns a string representation of this object. | 
| Identity | withArn(String arn)
 The ARN in an Identity. | 
| Identity | withName(String name)
 The name in an Identity. | 
public void setArn(String arn)
The ARN in an Identity.
arn - The ARN in an Identity.public String getArn()
The ARN in an Identity.
public Identity withArn(String arn)
The ARN in an Identity.
arn - The ARN in an Identity.public void setName(String name)
The name in an Identity.
name - The name in an Identity.public String getName()
The name in an Identity.
public Identity withName(String name)
The name in an Identity.
name - The name in an Identity.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.