@Generated(value="software.amazon.awssdk:codegen") public class DescribeOrganizationResponse extends WorkMailResponse implements ToCopyableBuilder<DescribeOrganizationResponse.Builder,DescribeOrganizationResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeOrganizationResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
alias()
The alias for an organization.
|
static DescribeOrganizationResponse.Builder |
builder() |
Instant |
completedDate()
The date at which the organization became usable in the Amazon WorkMail context, in UNIX epoch time format.
|
String |
defaultMailDomain()
The default mail domain associated with the organization.
|
String |
directoryId()
The identifier for the directory associated with an Amazon WorkMail organization.
|
String |
directoryType()
The type of directory associated with the Amazon WorkMail organization.
|
boolean |
equals(Object obj) |
String |
errorMessage()
The (optional) error message indicating if unexpected behavior was encountered with regards to the organization.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse. |
int |
hashCode() |
String |
organizationId()
The identifier of an organization.
|
static Class<? extends DescribeOrganizationResponse.Builder> |
serializableBuilderClass() |
String |
state()
The state of an organization.
|
DescribeOrganizationResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
sdkHttpResponsecopypublic String organizationId()
The identifier of an organization.
public String alias()
The alias for an organization.
public String state()
The state of an organization.
public String directoryId()
The identifier for the directory associated with an Amazon WorkMail organization.
public String directoryType()
The type of directory associated with the Amazon WorkMail organization.
public String defaultMailDomain()
The default mail domain associated with the organization.
public Instant completedDate()
The date at which the organization became usable in the Amazon WorkMail context, in UNIX epoch time format.
public String errorMessage()
The (optional) error message indicating if unexpected behavior was encountered with regards to the organization.
public DescribeOrganizationResponse.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<DescribeOrganizationResponse.Builder,DescribeOrganizationResponse>toBuilder in class AwsResponsepublic static DescribeOrganizationResponse.Builder builder()
public static Class<? extends DescribeOrganizationResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponseSdkResponse. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class) method will
again be available.getValueForField in class SdkResponsefieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.