@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateOrganizationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateOrganizationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateOrganizationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAlias()
The organization alias.
|
String |
getClientToken()
The idempotency token associated with the request.
|
String |
getDirectoryId()
The AWS Directory Service directory ID.
|
List<Domain> |
getDomains()
The email domains to associate with the organization.
|
Boolean |
getEnableInteroperability()
When
true , allows organization interoperability between WorkMail and Microsoft Exchange. |
String |
getKmsKeyArn()
The Amazon Resource Name (ARN) of a customer managed key from AWS KMS.
|
int |
hashCode() |
Boolean |
isEnableInteroperability()
When
true , allows organization interoperability between WorkMail and Microsoft Exchange. |
void |
setAlias(String alias)
The organization alias.
|
void |
setClientToken(String clientToken)
The idempotency token associated with the request.
|
void |
setDirectoryId(String directoryId)
The AWS Directory Service directory ID.
|
void |
setDomains(Collection<Domain> domains)
The email domains to associate with the organization.
|
void |
setEnableInteroperability(Boolean enableInteroperability)
When
true , allows organization interoperability between WorkMail and Microsoft Exchange. |
void |
setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of a customer managed key from AWS KMS.
|
String |
toString()
Returns a string representation of this object.
|
CreateOrganizationRequest |
withAlias(String alias)
The organization alias.
|
CreateOrganizationRequest |
withClientToken(String clientToken)
The idempotency token associated with the request.
|
CreateOrganizationRequest |
withDirectoryId(String directoryId)
The AWS Directory Service directory ID.
|
CreateOrganizationRequest |
withDomains(Collection<Domain> domains)
The email domains to associate with the organization.
|
CreateOrganizationRequest |
withDomains(Domain... domains)
The email domains to associate with the organization.
|
CreateOrganizationRequest |
withEnableInteroperability(Boolean enableInteroperability)
When
true , allows organization interoperability between WorkMail and Microsoft Exchange. |
CreateOrganizationRequest |
withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of a customer managed key from AWS KMS.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDirectoryId(String directoryId)
The AWS Directory Service directory ID.
directoryId
- The AWS Directory Service directory ID.public String getDirectoryId()
The AWS Directory Service directory ID.
public CreateOrganizationRequest withDirectoryId(String directoryId)
The AWS Directory Service directory ID.
directoryId
- The AWS Directory Service directory ID.public void setAlias(String alias)
The organization alias.
alias
- The organization alias.public String getAlias()
The organization alias.
public CreateOrganizationRequest withAlias(String alias)
The organization alias.
alias
- The organization alias.public void setClientToken(String clientToken)
The idempotency token associated with the request.
clientToken
- The idempotency token associated with the request.public String getClientToken()
The idempotency token associated with the request.
public CreateOrganizationRequest withClientToken(String clientToken)
The idempotency token associated with the request.
clientToken
- The idempotency token associated with the request.public List<Domain> getDomains()
The email domains to associate with the organization.
public void setDomains(Collection<Domain> domains)
The email domains to associate with the organization.
domains
- The email domains to associate with the organization.public CreateOrganizationRequest withDomains(Domain... domains)
The email domains to associate with the organization.
NOTE: This method appends the values to the existing list (if any). Use
setDomains(java.util.Collection)
or withDomains(java.util.Collection)
if you want to override
the existing values.
domains
- The email domains to associate with the organization.public CreateOrganizationRequest withDomains(Collection<Domain> domains)
The email domains to associate with the organization.
domains
- The email domains to associate with the organization.public void setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of a customer managed key from AWS KMS.
kmsKeyArn
- The Amazon Resource Name (ARN) of a customer managed key from AWS KMS.public String getKmsKeyArn()
The Amazon Resource Name (ARN) of a customer managed key from AWS KMS.
public CreateOrganizationRequest withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of a customer managed key from AWS KMS.
kmsKeyArn
- The Amazon Resource Name (ARN) of a customer managed key from AWS KMS.public void setEnableInteroperability(Boolean enableInteroperability)
When true
, allows organization interoperability between WorkMail and Microsoft Exchange. If
true
, you must include a AD Connector directory ID in the request.
enableInteroperability
- When true
, allows organization interoperability between WorkMail and Microsoft Exchange. If
true
, you must include a AD Connector directory ID in the request.public Boolean getEnableInteroperability()
When true
, allows organization interoperability between WorkMail and Microsoft Exchange. If
true
, you must include a AD Connector directory ID in the request.
true
, allows organization interoperability between WorkMail and Microsoft Exchange. If
true
, you must include a AD Connector directory ID in the request.public CreateOrganizationRequest withEnableInteroperability(Boolean enableInteroperability)
When true
, allows organization interoperability between WorkMail and Microsoft Exchange. If
true
, you must include a AD Connector directory ID in the request.
enableInteroperability
- When true
, allows organization interoperability between WorkMail and Microsoft Exchange. If
true
, you must include a AD Connector directory ID in the request.public Boolean isEnableInteroperability()
When true
, allows organization interoperability between WorkMail and Microsoft Exchange. If
true
, you must include a AD Connector directory ID in the request.
true
, allows organization interoperability between WorkMail and Microsoft Exchange. If
true
, you must include a AD Connector directory ID in the request.public String toString()
toString
in class Object
Object.toString()
public CreateOrganizationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()