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 get_directory_id(&self) -> &Option<String>
pub fn get_directory_id(&self) -> &Option<String>
The AWS Directory Service directory ID.
sourcepub fn alias(self, input: impl Into<String>) -> Self
pub fn alias(self, input: impl Into<String>) -> Self
The organization alias.
This field is required.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 get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
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 get_domains(&self) -> &Option<Vec<Domain>>
pub fn get_domains(&self) -> &Option<Vec<Domain>>
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 get_kms_key_arn(&self) -> &Option<String>
pub fn get_kms_key_arn(&self) -> &Option<String>
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 get_enable_interoperability(&self) -> &Option<bool>
pub fn get_enable_interoperability(&self) -> &Option<bool>
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
.
source§impl CreateOrganizationInputBuilder
impl CreateOrganizationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateOrganizationOutput, SdkError<CreateOrganizationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateOrganizationOutput, SdkError<CreateOrganizationError, HttpResponse>>
Sends a request with this input using the given client.
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 for CreateOrganizationInputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for CreateOrganizationInputBuilder
Auto Trait Implementations§
impl Freeze for CreateOrganizationInputBuilder
impl RefUnwindSafe for CreateOrganizationInputBuilder
impl Send for CreateOrganizationInputBuilder
impl Sync for CreateOrganizationInputBuilder
impl Unpin for CreateOrganizationInputBuilder
impl UnwindSafe for CreateOrganizationInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more