@Generated(value="software.amazon.awssdk:codegen") public final class DescribeResourceResponse extends WorkMailResponse implements ToCopyableBuilder<DescribeResourceResponse.Builder,DescribeResourceResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeResourceResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
BookingOptions |
bookingOptions()
The booking options for the described resource.
|
static DescribeResourceResponse.Builder |
builder() |
Instant |
disabledDate()
The date and time when a resource was disabled from WorkMail, in UNIX epoch time format.
|
String |
email()
The email of the described resource.
|
Instant |
enabledDate()
The date and time when a resource was enabled for WorkMail, in UNIX epoch time format.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the described resource.
|
String |
resourceId()
The identifier of the described resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeResourceResponse.Builder> |
serializableBuilderClass() |
EntityState |
state()
The state of the resource: enabled (registered to Amazon WorkMail) or disabled (deregistered or never registered
to WorkMail).
|
String |
stateAsString()
The state of the resource: enabled (registered to Amazon WorkMail) or disabled (deregistered or never registered
to WorkMail).
|
DescribeResourceResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ResourceType |
type()
The type of the described resource.
|
String |
typeAsString()
The type of the described resource.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String resourceId()
The identifier of the described resource.
public String email()
The email of the described resource.
public String name()
The name of the described resource.
public ResourceType type()
The type of the described resource.
If the service returns an enum value that is not available in the current SDK version, type will return
ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ResourceTypepublic String typeAsString()
The type of the described resource.
If the service returns an enum value that is not available in the current SDK version, type will return
ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ResourceTypepublic BookingOptions bookingOptions()
The booking options for the described resource.
public EntityState state()
The state of the resource: enabled (registered to Amazon WorkMail) or disabled (deregistered or never registered to WorkMail).
If the service returns an enum value that is not available in the current SDK version, state will return
EntityState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
EntityStatepublic String stateAsString()
The state of the resource: enabled (registered to Amazon WorkMail) or disabled (deregistered or never registered to WorkMail).
If the service returns an enum value that is not available in the current SDK version, state will return
EntityState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
EntityStatepublic Instant enabledDate()
The date and time when a resource was enabled for WorkMail, in UNIX epoch time format.
public Instant disabledDate()
The date and time when a resource was disabled from WorkMail, in UNIX epoch time format.
public DescribeResourceResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeResourceResponse.Builder,DescribeResourceResponse>toBuilder in class AwsResponsepublic static DescribeResourceResponse.Builder builder()
public static Class<? extends DescribeResourceResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2019. All rights reserved.