@Generated(value="software.amazon.awssdk:codegen") public final class DescribeEntityResponse extends WorkMailResponse implements ToCopyableBuilder<DescribeEntityResponse.Builder,DescribeEntityResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeEntityResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeEntityResponse.Builder |
builder() |
String |
entityId()
The entity ID under which the entity exists.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
Username, GroupName, or ResourceName based on entity type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeEntityResponse.Builder> |
serializableBuilderClass() |
DescribeEntityResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
EntityType |
type()
Entity type.
|
String |
typeAsString()
Entity type.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String entityId()
The entity ID under which the entity exists.
public final String name()
Username, GroupName, or ResourceName based on entity type.
public final EntityType type()
Entity type.
If the service returns an enum value that is not available in the current SDK version, type will return
EntityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
EntityTypepublic final String typeAsString()
Entity type.
If the service returns an enum value that is not available in the current SDK version, type will return
EntityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
EntityTypepublic DescribeEntityResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeEntityResponse.Builder,DescribeEntityResponse>toBuilder in class AwsResponsepublic static DescribeEntityResponse.Builder builder()
public static Class<? extends DescribeEntityResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.