Struct aws_sdk_workmail::operation::update_impersonation_role::builders::UpdateImpersonationRoleFluentBuilder
source · pub struct UpdateImpersonationRoleFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateImpersonationRole
.
Updates an impersonation role for the given WorkMail organization.
Implementations§
source§impl UpdateImpersonationRoleFluentBuilder
impl UpdateImpersonationRoleFluentBuilder
sourcepub fn as_input(&self) -> &UpdateImpersonationRoleInputBuilder
pub fn as_input(&self) -> &UpdateImpersonationRoleInputBuilder
Access the UpdateImpersonationRole as a reference.
sourcepub async fn send(
self
) -> Result<UpdateImpersonationRoleOutput, SdkError<UpdateImpersonationRoleError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateImpersonationRoleOutput, SdkError<UpdateImpersonationRoleError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateImpersonationRoleOutput, UpdateImpersonationRoleError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateImpersonationRoleOutput, UpdateImpersonationRoleError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn organization_id(self, input: impl Into<String>) -> Self
pub fn organization_id(self, input: impl Into<String>) -> Self
The WorkMail organization that contains the impersonation role to update.
sourcepub fn set_organization_id(self, input: Option<String>) -> Self
pub fn set_organization_id(self, input: Option<String>) -> Self
The WorkMail organization that contains the impersonation role to update.
sourcepub fn get_organization_id(&self) -> &Option<String>
pub fn get_organization_id(&self) -> &Option<String>
The WorkMail organization that contains the impersonation role to update.
sourcepub fn impersonation_role_id(self, input: impl Into<String>) -> Self
pub fn impersonation_role_id(self, input: impl Into<String>) -> Self
The ID of the impersonation role to update.
sourcepub fn set_impersonation_role_id(self, input: Option<String>) -> Self
pub fn set_impersonation_role_id(self, input: Option<String>) -> Self
The ID of the impersonation role to update.
sourcepub fn get_impersonation_role_id(&self) -> &Option<String>
pub fn get_impersonation_role_id(&self) -> &Option<String>
The ID of the impersonation role to update.
sourcepub fn type(self, input: ImpersonationRoleType) -> Self
pub fn type(self, input: ImpersonationRoleType) -> Self
The updated impersonation role type.
sourcepub fn set_type(self, input: Option<ImpersonationRoleType>) -> Self
pub fn set_type(self, input: Option<ImpersonationRoleType>) -> Self
The updated impersonation role type.
sourcepub fn get_type(&self) -> &Option<ImpersonationRoleType>
pub fn get_type(&self) -> &Option<ImpersonationRoleType>
The updated impersonation role type.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The updated impersonation role description.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The updated impersonation role description.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The updated impersonation role description.
sourcepub fn rules(self, input: ImpersonationRule) -> Self
pub fn rules(self, input: ImpersonationRule) -> Self
Appends an item to Rules
.
To override the contents of this collection use set_rules
.
The updated list of rules.
sourcepub fn set_rules(self, input: Option<Vec<ImpersonationRule>>) -> Self
pub fn set_rules(self, input: Option<Vec<ImpersonationRule>>) -> Self
The updated list of rules.
sourcepub fn get_rules(&self) -> &Option<Vec<ImpersonationRule>>
pub fn get_rules(&self) -> &Option<Vec<ImpersonationRule>>
The updated list of rules.
Trait Implementations§
source§impl Clone for UpdateImpersonationRoleFluentBuilder
impl Clone for UpdateImpersonationRoleFluentBuilder
source§fn clone(&self) -> UpdateImpersonationRoleFluentBuilder
fn clone(&self) -> UpdateImpersonationRoleFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateImpersonationRoleFluentBuilder
impl !RefUnwindSafe for UpdateImpersonationRoleFluentBuilder
impl Send for UpdateImpersonationRoleFluentBuilder
impl Sync for UpdateImpersonationRoleFluentBuilder
impl Unpin for UpdateImpersonationRoleFluentBuilder
impl !UnwindSafe for UpdateImpersonationRoleFluentBuilder
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