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 get_organization_id(&self) -> &Option<String>
pub fn get_organization_id(&self) -> &Option<String>
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 get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
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 get_entity_id(&self) -> &Option<String>
pub fn get_entity_id(&self) -> &Option<String>
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
.
source§impl AssociateDelegateToResourceInputBuilder
impl AssociateDelegateToResourceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AssociateDelegateToResourceOutput, SdkError<AssociateDelegateToResourceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AssociateDelegateToResourceOutput, SdkError<AssociateDelegateToResourceError, HttpResponse>>
Sends a request with this input using the given client.
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 ==
.impl StructuralPartialEq for AssociateDelegateToResourceInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AssociateDelegateToResourceInputBuilder
impl Send for AssociateDelegateToResourceInputBuilder
impl Sync for AssociateDelegateToResourceInputBuilder
impl Unpin for AssociateDelegateToResourceInputBuilder
impl UnwindSafe for AssociateDelegateToResourceInputBuilder
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
Mutably borrows from an owned value. Read more