Struct aws_sdk_workmail::input::delete_organization_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DeleteOrganizationInput
.
Implementations§
source§impl Builder
impl Builder
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 organization_id(self, input: impl Into<String>) -> Self
pub fn organization_id(self, input: impl Into<String>) -> Self
The organization ID.
sourcepub fn set_organization_id(self, input: Option<String>) -> Self
pub fn set_organization_id(self, input: Option<String>) -> Self
The organization ID.
sourcepub fn delete_directory(self, input: bool) -> Self
pub fn delete_directory(self, input: bool) -> Self
If true, deletes the AWS Directory Service directory associated with the organization.
sourcepub fn set_delete_directory(self, input: Option<bool>) -> Self
pub fn set_delete_directory(self, input: Option<bool>) -> Self
If true, deletes the AWS Directory Service directory associated with the organization.
sourcepub fn build(self) -> Result<DeleteOrganizationInput, BuildError>
pub fn build(self) -> Result<DeleteOrganizationInput, BuildError>
Consumes the builder and constructs a DeleteOrganizationInput
.