Struct aws_sdk_workmail::input::create_organization_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateOrganizationInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn directory_id(self, input: impl Into<String>) -> Self
pub fn directory_id(self, input: impl Into<String>) -> Self
The AWS Directory Service directory ID.
sourcepub fn set_directory_id(self, input: Option<String>) -> Self
pub fn set_directory_id(self, input: Option<String>) -> Self
The AWS Directory Service directory ID.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The idempotency token associated with the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The idempotency token associated with the request.
sourcepub fn domains(self, input: Domain) -> Self
pub fn domains(self, input: Domain) -> Self
Appends an item to domains
.
To override the contents of this collection use set_domains
.
The email domains to associate with the organization.
sourcepub fn set_domains(self, input: Option<Vec<Domain>>) -> Self
pub fn set_domains(self, input: Option<Vec<Domain>>) -> Self
The email domains to associate with the organization.
sourcepub fn kms_key_arn(self, input: impl Into<String>) -> Self
pub fn kms_key_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of a customer managed key from AWS KMS.
sourcepub fn set_kms_key_arn(self, input: Option<String>) -> Self
pub fn set_kms_key_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of a customer managed key from AWS KMS.
sourcepub fn enable_interoperability(self, input: bool) -> Self
pub fn enable_interoperability(self, input: bool) -> Self
When true
, allows organization interoperability between WorkMail and Microsoft Exchange. If true
, you must include a AD Connector directory ID in the request.
sourcepub fn set_enable_interoperability(self, input: Option<bool>) -> Self
pub fn set_enable_interoperability(self, input: Option<bool>) -> Self
When true
, allows organization interoperability between WorkMail and Microsoft Exchange. If true
, you must include a AD Connector directory ID in the request.
sourcepub fn build(self) -> Result<CreateOrganizationInput, BuildError>
pub fn build(self) -> Result<CreateOrganizationInput, BuildError>
Consumes the builder and constructs a CreateOrganizationInput
.