@Generated(value="software.amazon.awssdk:codegen") public final class Identity extends Object implements StructuredPojo, ToCopyableBuilder<Identity.Builder,Identity>
Contains details about the type of identity that made the request.
Modifier and Type | Class and Description |
---|---|
static interface |
Identity.Builder |
Modifier and Type | Method and Description |
---|---|
static Identity.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
principalId()
A unique identifier for the entity that made the call.
|
static Class<? extends Identity.Builder> |
serializableBuilderClass() |
Identity.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
type()
The type of the identity.
|
copy
public String principalId()
A unique identifier for the entity that made the call. For Time To Live, the principalId is "dynamodb.amazonaws.com".
public String type()
The type of the identity. For Time To Live, the type is "Service".
public Identity.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Identity.Builder,Identity>
public static Identity.Builder builder()
public static Class<? extends Identity.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.