@Generated(value="software.amazon.awssdk:codegen") public final class EntityInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EntityInfo.Builder,EntityInfo>
Contains details about the specified entity (user or role).
This data type is an element of the EntityDetails object.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EntityInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
Returns the value of the Arn property for this object.
|
static EntityInfo.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The identifier of the entity (user or role).
|
String |
name()
The name of the entity (user or role).
|
String |
path()
The path to the entity (user or role).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EntityInfo.Builder> |
serializableBuilderClass() |
EntityInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
PolicyOwnerEntityType |
type()
The type of entity (user or role).
|
String |
typeAsString()
The type of entity (user or role).
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String arn()
public String name()
The name of the entity (user or role).
public PolicyOwnerEntityType type()
The type of entity (user or role).
If the service returns an enum value that is not available in the current SDK version, type will return
PolicyOwnerEntityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
PolicyOwnerEntityTypepublic String typeAsString()
The type of entity (user or role).
If the service returns an enum value that is not available in the current SDK version, type will return
PolicyOwnerEntityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
PolicyOwnerEntityTypepublic String id()
The identifier of the entity (user or role).
public String path()
The path to the entity (user or role). For more information about paths, see IAM Identifiers in the IAM User Guide.
public EntityInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EntityInfo.Builder,EntityInfo>public static EntityInfo.Builder builder()
public static Class<? extends EntityInfo.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.