@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Identity extends Object implements Serializable, Cloneable, StructuredPojo
The details of a user or bot.
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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.