@Generated(value="software.amazon.awssdk:codegen") public final class Identity extends Object implements SdkPojo, Serializable, 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() |
String |
principalId()
A unique identifier for the entity that made the call.
|
List<SdkField<?>> |
sdkFields() |
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()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.