Struct aws_sdk_workmail::input::delete_alias_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DeleteAliasInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn organization_id(self, input: impl Into<String>) -> Self
pub fn organization_id(self, input: impl Into<String>) -> Self
The identifier for the organization under which the user exists.
sourcepub fn set_organization_id(self, input: Option<String>) -> Self
pub fn set_organization_id(self, input: Option<String>) -> Self
The identifier for the organization under which the user exists.
sourcepub fn entity_id(self, input: impl Into<String>) -> Self
pub fn entity_id(self, input: impl Into<String>) -> Self
The identifier for the member (user or group) from which to have the aliases removed.
sourcepub fn set_entity_id(self, input: Option<String>) -> Self
pub fn set_entity_id(self, input: Option<String>) -> Self
The identifier for the member (user or group) from which to have the aliases removed.
sourcepub fn alias(self, input: impl Into<String>) -> Self
pub fn alias(self, input: impl Into<String>) -> Self
The aliases to be removed from the user's set of aliases. Duplicate entries in the list are collapsed into single entries (the list is transformed into a set).
sourcepub fn set_alias(self, input: Option<String>) -> Self
pub fn set_alias(self, input: Option<String>) -> Self
The aliases to be removed from the user's set of aliases. Duplicate entries in the list are collapsed into single entries (the list is transformed into a set).
sourcepub fn build(self) -> Result<DeleteAliasInput, BuildError>
pub fn build(self) -> Result<DeleteAliasInput, BuildError>
Consumes the builder and constructs a DeleteAliasInput
.