@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.
|
Date |
getCompletedDate()
The date at which the organization became usable in the Amazon 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 Amazon WorkMail organization.
|
String |
getErrorMessage()
The (optional) 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 |
setCompletedDate(Date completedDate)
The date at which the organization became usable in the Amazon 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 Amazon WorkMail organization.
|
void |
setErrorMessage(String errorMessage)
The (optional) 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; useful for testing and debugging.
|
DescribeOrganizationResult |
withAlias(String alias)
The alias for an organization.
|
DescribeOrganizationResult |
withCompletedDate(Date completedDate)
The date at which the organization became usable in the Amazon 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 Amazon WorkMail organization.
|
DescribeOrganizationResult |
withErrorMessage(String errorMessage)
The (optional) 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 Amazon WorkMail organization.
directoryType
- The type of directory associated with the Amazon WorkMail organization.public String getDirectoryType()
The type of directory associated with the Amazon WorkMail organization.
public DescribeOrganizationResult withDirectoryType(String directoryType)
The type of directory associated with the Amazon WorkMail organization.
directoryType
- The type of directory associated with the Amazon 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 Amazon WorkMail context, in UNIX epoch time format.
completedDate
- The date at which the organization became usable in the Amazon WorkMail context, in UNIX epoch time
format.public Date getCompletedDate()
The date at which the organization became usable in the Amazon WorkMail context, in UNIX epoch time format.
public DescribeOrganizationResult withCompletedDate(Date completedDate)
The date at which the organization became usable in the Amazon WorkMail context, in UNIX epoch time format.
completedDate
- The date at which the organization became usable in the Amazon WorkMail context, in UNIX epoch time
format.public void setErrorMessage(String errorMessage)
The (optional) error message indicating if unexpected behavior was encountered with regards to the organization.
errorMessage
- The (optional) error message indicating if unexpected behavior was encountered with regards to the
organization.public String getErrorMessage()
The (optional) error message indicating if unexpected behavior was encountered with regards to the organization.
public DescribeOrganizationResult withErrorMessage(String errorMessage)
The (optional) error message indicating if unexpected behavior was encountered with regards to the organization.
errorMessage
- The (optional) error message indicating if unexpected behavior was encountered with regards to the
organization.public String toString()
toString
in class Object
Object.toString()
public DescribeOrganizationResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.