Struct aws_sdk_workmail::operation::associate_delegate_to_resource::builders::AssociateDelegateToResourceInputBuilder
source · #[non_exhaustive]pub struct AssociateDelegateToResourceInputBuilder { /* private fields */ }Expand description
A builder for AssociateDelegateToResourceInput.
Implementations§
source§impl AssociateDelegateToResourceInputBuilder
impl AssociateDelegateToResourceInputBuilder
sourcepub fn organization_id(self, input: impl Into<String>) -> Self
pub fn organization_id(self, input: impl Into<String>) -> Self
The organization under which the resource exists.
sourcepub fn set_organization_id(self, input: Option<String>) -> Self
pub fn set_organization_id(self, input: Option<String>) -> Self
The organization under which the resource exists.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The resource for which members (users or groups) are associated.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The resource for which members (users or groups) are associated.
sourcepub fn entity_id(self, input: impl Into<String>) -> Self
pub fn entity_id(self, input: impl Into<String>) -> Self
The member (user or group) to associate to the resource.
sourcepub fn set_entity_id(self, input: Option<String>) -> Self
pub fn set_entity_id(self, input: Option<String>) -> Self
The member (user or group) to associate to the resource.
sourcepub fn build(self) -> Result<AssociateDelegateToResourceInput, BuildError>
pub fn build(self) -> Result<AssociateDelegateToResourceInput, BuildError>
Consumes the builder and constructs a AssociateDelegateToResourceInput.
Trait Implementations§
source§impl Clone for AssociateDelegateToResourceInputBuilder
impl Clone for AssociateDelegateToResourceInputBuilder
source§fn clone(&self) -> AssociateDelegateToResourceInputBuilder
fn clone(&self) -> AssociateDelegateToResourceInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for AssociateDelegateToResourceInputBuilder
impl Default for AssociateDelegateToResourceInputBuilder
source§fn default() -> AssociateDelegateToResourceInputBuilder
fn default() -> AssociateDelegateToResourceInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AssociateDelegateToResourceInputBuilder> for AssociateDelegateToResourceInputBuilder
impl PartialEq<AssociateDelegateToResourceInputBuilder> for AssociateDelegateToResourceInputBuilder
source§fn eq(&self, other: &AssociateDelegateToResourceInputBuilder) -> bool
fn eq(&self, other: &AssociateDelegateToResourceInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.