@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.
UserIdentityType
public String getType()
The identity type of the requester that calls the API operation.
The identity type of the requester that calls the API operation.
UserIdentityType
public 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.
UserIdentityType
public 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.
UserIdentityType
public 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 Object
Object.toString()
public UserIdentity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.