@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserIdentity extends Object implements Serializable, Cloneable, StructuredPojo
Description of the requester that calls the API operation.
| Constructor and Description |
|---|
UserIdentity() |
| Modifier and Type | Method and Description |
|---|---|
UserIdentity |
clone() |
boolean |
equals(Object obj) |
String |
getPrincipalId()
A unique identifier for the requester that calls the API operation.
|
String |
getType()
The identity type of the requester that calls the API operation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPrincipalId(String principalId)
A unique identifier for the requester that calls the API operation.
|
void |
setType(String type)
The identity type of the requester that calls the API operation.
|
String |
toString()
Returns a string representation of this object.
|
UserIdentity |
withPrincipalId(String principalId)
A unique identifier for the requester that calls the API operation.
|
UserIdentity |
withType(String type)
The identity type of the requester that calls the API operation.
|
UserIdentity |
withType(UserIdentityType type)
The identity type of the requester that calls the API operation.
|
public void setType(String type)
The identity type of the requester that calls the API operation.
type - The identity type of the requester that calls the API operation.
UserIdentityTypepublic String getType()
The identity type of the requester that calls the API operation.
The identity type of the requester that calls the API operation.
UserIdentityTypepublic UserIdentity withType(String type)
The identity type of the requester that calls the API operation.
type - The identity type of the requester that calls the API operation.
UserIdentityTypepublic UserIdentity withType(UserIdentityType type)
The identity type of the requester that calls the API operation.
type - The identity type of the requester that calls the API operation.
UserIdentityTypepublic void setPrincipalId(String principalId)
A unique identifier for the requester that calls the API operation.
principalId - A unique identifier for the requester that calls the API operation.
public String getPrincipalId()
A unique identifier for the requester that calls the API operation.
A unique identifier for the requester that calls the API operation.
public UserIdentity withPrincipalId(String principalId)
A unique identifier for the requester that calls the API operation.
principalId - A unique identifier for the requester that calls the API operation.
public String toString()
toString in class ObjectObject.toString()public UserIdentity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.