Class Identity
- java.lang.Object
-
- software.amazon.awssdk.services.dynamodb.model.Identity
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<Identity.Builder,Identity>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Identity.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Identity.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(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()
String
toString()
Returns a string representation of this object.String
type()
The type of the identity.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
principalId
public final String principalId()
A unique identifier for the entity that made the call. For Time To Live, the principalId is "dynamodb.amazonaws.com".
- Returns:
- A unique identifier for the entity that made the call. For Time To Live, the principalId is "dynamodb.amazonaws.com".
-
type
public final String type()
The type of the identity. For Time To Live, the type is "Service".
- Returns:
- The type of the identity. For Time To Live, the type is "Service".
-
toBuilder
public Identity.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<Identity.Builder,Identity>
-
builder
public static Identity.Builder builder()
-
serializableBuilderClass
public static Class<? extends Identity.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-