@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeOrganizationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeOrganizationResult() |
Modifier and Type | Method and Description |
---|---|
DescribeOrganizationResult |
clone() |
boolean |
equals(Object obj) |
String |
getAlias()
The alias for an organization.
|
String |
getARN()
The Amazon Resource Name (ARN) of the organization.
|
Date |
getCompletedDate()
The date at which the organization became usable in the WorkMail context, in UNIX epoch time format.
|
String |
getDefaultMailDomain()
The default mail domain associated with the organization.
|
String |
getDirectoryId()
The identifier for the directory associated with an Amazon WorkMail organization.
|
String |
getDirectoryType()
The type of directory associated with the WorkMail organization.
|
String |
getErrorMessage()
(Optional) The error message indicating if unexpected behavior was encountered with regards to the organization.
|
String |
getOrganizationId()
The identifier of an organization.
|
String |
getState()
The state of an organization.
|
int |
hashCode() |
void |
setAlias(String alias)
The alias for an organization.
|
void |
setARN(String aRN)
The Amazon Resource Name (ARN) of the organization.
|
void |
setCompletedDate(Date completedDate)
The date at which the organization became usable in the WorkMail context, in UNIX epoch time format.
|
void |
setDefaultMailDomain(String defaultMailDomain)
The default mail domain associated with the organization.
|
void |
setDirectoryId(String directoryId)
The identifier for the directory associated with an Amazon WorkMail organization.
|
void |
setDirectoryType(String directoryType)
The type of directory associated with the WorkMail organization.
|
void |
setErrorMessage(String errorMessage)
(Optional) The error message indicating if unexpected behavior was encountered with regards to the organization.
|
void |
setOrganizationId(String organizationId)
The identifier of an organization.
|
void |
setState(String state)
The state of an organization.
|
String |
toString()
Returns a string representation of this object.
|
DescribeOrganizationResult |
withAlias(String alias)
The alias for an organization.
|
DescribeOrganizationResult |
withARN(String aRN)
The Amazon Resource Name (ARN) of the organization.
|
DescribeOrganizationResult |
withCompletedDate(Date completedDate)
The date at which the organization became usable in the WorkMail context, in UNIX epoch time format.
|
DescribeOrganizationResult |
withDefaultMailDomain(String defaultMailDomain)
The default mail domain associated with the organization.
|
DescribeOrganizationResult |
withDirectoryId(String directoryId)
The identifier for the directory associated with an Amazon WorkMail organization.
|
DescribeOrganizationResult |
withDirectoryType(String directoryType)
The type of directory associated with the WorkMail organization.
|
DescribeOrganizationResult |
withErrorMessage(String errorMessage)
(Optional) The error message indicating if unexpected behavior was encountered with regards to the organization.
|
DescribeOrganizationResult |
withOrganizationId(String organizationId)
The identifier of an organization.
|
DescribeOrganizationResult |
withState(String state)
The state of an organization.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setOrganizationId(String organizationId)
The identifier of an organization.
organizationId
- The identifier of an organization.public String getOrganizationId()
The identifier of an organization.
public DescribeOrganizationResult withOrganizationId(String organizationId)
The identifier of an organization.
organizationId
- The identifier of an organization.public void setAlias(String alias)
The alias for an organization.
alias
- The alias for an organization.public String getAlias()
The alias for an organization.
public DescribeOrganizationResult withAlias(String alias)
The alias for an organization.
alias
- The alias for an organization.public void setState(String state)
The state of an organization.
state
- The state of an organization.public String getState()
The state of an organization.
public DescribeOrganizationResult withState(String state)
The state of an organization.
state
- The state of an organization.public void setDirectoryId(String directoryId)
The identifier for the directory associated with an Amazon WorkMail organization.
directoryId
- The identifier for the directory associated with an Amazon WorkMail organization.public String getDirectoryId()
The identifier for the directory associated with an Amazon WorkMail organization.
public DescribeOrganizationResult withDirectoryId(String directoryId)
The identifier for the directory associated with an Amazon WorkMail organization.
directoryId
- The identifier for the directory associated with an Amazon WorkMail organization.public void setDirectoryType(String directoryType)
The type of directory associated with the WorkMail organization.
directoryType
- The type of directory associated with the WorkMail organization.public String getDirectoryType()
The type of directory associated with the WorkMail organization.
public DescribeOrganizationResult withDirectoryType(String directoryType)
The type of directory associated with the WorkMail organization.
directoryType
- The type of directory associated with the WorkMail organization.public void setDefaultMailDomain(String defaultMailDomain)
The default mail domain associated with the organization.
defaultMailDomain
- The default mail domain associated with the organization.public String getDefaultMailDomain()
The default mail domain associated with the organization.
public DescribeOrganizationResult withDefaultMailDomain(String defaultMailDomain)
The default mail domain associated with the organization.
defaultMailDomain
- The default mail domain associated with the organization.public void setCompletedDate(Date completedDate)
The date at which the organization became usable in the WorkMail context, in UNIX epoch time format.
completedDate
- The date at which the organization became usable in the WorkMail context, in UNIX epoch time format.public Date getCompletedDate()
The date at which the organization became usable in the WorkMail context, in UNIX epoch time format.
public DescribeOrganizationResult withCompletedDate(Date completedDate)
The date at which the organization became usable in the WorkMail context, in UNIX epoch time format.
completedDate
- The date at which the organization became usable in the WorkMail context, in UNIX epoch time format.public void setErrorMessage(String errorMessage)
(Optional) The error message indicating if unexpected behavior was encountered with regards to the organization.
errorMessage
- (Optional) The error message indicating if unexpected behavior was encountered with regards to the
organization.public String getErrorMessage()
(Optional) The error message indicating if unexpected behavior was encountered with regards to the organization.
public DescribeOrganizationResult withErrorMessage(String errorMessage)
(Optional) The error message indicating if unexpected behavior was encountered with regards to the organization.
errorMessage
- (Optional) The error message indicating if unexpected behavior was encountered with regards to the
organization.public void setARN(String aRN)
The Amazon Resource Name (ARN) of the organization.
aRN
- The Amazon Resource Name (ARN) of the organization.public String getARN()
The Amazon Resource Name (ARN) of the organization.
public DescribeOrganizationResult withARN(String aRN)
The Amazon Resource Name (ARN) of the organization.
aRN
- The Amazon Resource Name (ARN) of the organization.public String toString()
toString
in class Object
Object.toString()
public DescribeOrganizationResult clone()