@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Identity extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about the type of identity that made the request.
Constructor and Description |
---|
Identity() |
Modifier and Type | Method and Description |
---|---|
Identity |
clone() |
boolean |
equals(Object obj) |
String |
getPrincipalId()
A unique identifier for the entity that made the call.
|
String |
getType()
The type of the identity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setPrincipalId(String principalId)
A unique identifier for the entity that made the call.
|
void |
setType(String type)
The type of the identity.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Identity |
withPrincipalId(String principalId)
A unique identifier for the entity that made the call.
|
Identity |
withType(String type)
The type of the identity.
|
public void setPrincipalId(String principalId)
A unique identifier for the entity that made the call. For Time To Live, the principalId is "dynamodb.amazonaws.com".
principalId
- A unique identifier for the entity that made the call. For Time To Live, the principalId is
"dynamodb.amazonaws.com".public String getPrincipalId()
A unique identifier for the entity that made the call. For Time To Live, the principalId is "dynamodb.amazonaws.com".
public Identity withPrincipalId(String principalId)
A unique identifier for the entity that made the call. For Time To Live, the principalId is "dynamodb.amazonaws.com".
principalId
- A unique identifier for the entity that made the call. For Time To Live, the principalId is
"dynamodb.amazonaws.com".public void setType(String type)
The type of the identity. For Time To Live, the type is "Service".
type
- The type of the identity. For Time To Live, the type is "Service".public String getType()
The type of the identity. For Time To Live, the type is "Service".
public Identity withType(String type)
The type of the identity. For Time To Live, the type is "Service".
type
- The type of the identity. For Time To Live, the type is "Service".public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2017. All rights reserved.