Struct aws_sdk_workmail::operation::create_organization::builders::CreateOrganizationInputBuilder
source · #[non_exhaustive]pub struct CreateOrganizationInputBuilder { /* private fields */ }Expand description
A builder for CreateOrganizationInput.
Implementations§
source§impl CreateOrganizationInputBuilder
impl CreateOrganizationInputBuilder
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.
Trait Implementations§
source§impl Clone for CreateOrganizationInputBuilder
impl Clone for CreateOrganizationInputBuilder
source§fn clone(&self) -> CreateOrganizationInputBuilder
fn clone(&self) -> CreateOrganizationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateOrganizationInputBuilder
impl Default for CreateOrganizationInputBuilder
source§fn default() -> CreateOrganizationInputBuilder
fn default() -> CreateOrganizationInputBuilder
source§impl PartialEq<CreateOrganizationInputBuilder> for CreateOrganizationInputBuilder
impl PartialEq<CreateOrganizationInputBuilder> for CreateOrganizationInputBuilder
source§fn eq(&self, other: &CreateOrganizationInputBuilder) -> bool
fn eq(&self, other: &CreateOrganizationInputBuilder) -> bool
self and other values to be equal, and is used
by ==.