@Generated(value="software.amazon.awssdk:codegen") public final class EntityIdentifier extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EntityIdentifier.Builder,EntityIdentifier>
Contains the identifier of an entity, including its ID and type.
This data type is used as a request parameter for IsAuthorized operation, and as a response parameter for the CreatePolicy, GetPolicy, and UpdatePolicy operations.
Example: {"entityId":"string","entityType":"string"}
| Modifier and Type | Class and Description |
|---|---|
static interface |
EntityIdentifier.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EntityIdentifier.Builder |
builder() |
String |
entityId()
The identifier of an entity.
|
String |
entityType()
The type of an entity.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends EntityIdentifier.Builder> |
serializableBuilderClass() |
EntityIdentifier.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String entityType()
The type of an entity.
Example: "entityType":"typeName"
Example: "entityType":"typeName"
public final String entityId()
The identifier of an entity.
"entityId":"identifier"
"entityId":"identifier"
public EntityIdentifier.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EntityIdentifier.Builder,EntityIdentifier>public static EntityIdentifier.Builder builder()
public static Class<? extends EntityIdentifier.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.