Struct aws_sdk_workmail::operation::get_impersonation_role_effect::builders::GetImpersonationRoleEffectOutputBuilder
source · #[non_exhaustive]pub struct GetImpersonationRoleEffectOutputBuilder { /* private fields */ }
Expand description
A builder for GetImpersonationRoleEffectOutput
.
Implementations§
source§impl GetImpersonationRoleEffectOutputBuilder
impl GetImpersonationRoleEffectOutputBuilder
sourcepub fn type(self, input: ImpersonationRoleType) -> Self
pub fn type(self, input: ImpersonationRoleType) -> Self
The impersonation role type.
sourcepub fn set_type(self, input: Option<ImpersonationRoleType>) -> Self
pub fn set_type(self, input: Option<ImpersonationRoleType>) -> Self
The impersonation role type.
sourcepub fn get_type(&self) -> &Option<ImpersonationRoleType>
pub fn get_type(&self) -> &Option<ImpersonationRoleType>
The impersonation role type.
sourcepub fn effect(self, input: AccessEffect) -> Self
pub fn effect(self, input: AccessEffect) -> Self
Effect of the impersonation role on the target user based on its rules. Available effects are
ALLOW
or DENY
.
sourcepub fn set_effect(self, input: Option<AccessEffect>) -> Self
pub fn set_effect(self, input: Option<AccessEffect>) -> Self
Effect of the impersonation role on the target user based on its rules. Available effects are
ALLOW
or DENY
.
sourcepub fn get_effect(&self) -> &Option<AccessEffect>
pub fn get_effect(&self) -> &Option<AccessEffect>
Effect of the impersonation role on the target user based on its rules. Available effects are
ALLOW
or DENY
.
sourcepub fn matched_rules(self, input: ImpersonationMatchedRule) -> Self
pub fn matched_rules(self, input: ImpersonationMatchedRule) -> Self
Appends an item to matched_rules
.
To override the contents of this collection use set_matched_rules
.
A list of the rules that match the input and produce the configured effect.
sourcepub fn set_matched_rules(
self,
input: Option<Vec<ImpersonationMatchedRule>>
) -> Self
pub fn set_matched_rules( self, input: Option<Vec<ImpersonationMatchedRule>> ) -> Self
A list of the rules that match the input and produce the configured effect.
sourcepub fn get_matched_rules(&self) -> &Option<Vec<ImpersonationMatchedRule>>
pub fn get_matched_rules(&self) -> &Option<Vec<ImpersonationMatchedRule>>
A list of the rules that match the input and produce the configured effect.
sourcepub fn build(self) -> GetImpersonationRoleEffectOutput
pub fn build(self) -> GetImpersonationRoleEffectOutput
Consumes the builder and constructs a GetImpersonationRoleEffectOutput
.
Trait Implementations§
source§impl Clone for GetImpersonationRoleEffectOutputBuilder
impl Clone for GetImpersonationRoleEffectOutputBuilder
source§fn clone(&self) -> GetImpersonationRoleEffectOutputBuilder
fn clone(&self) -> GetImpersonationRoleEffectOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetImpersonationRoleEffectOutputBuilder
impl Default for GetImpersonationRoleEffectOutputBuilder
source§fn default() -> GetImpersonationRoleEffectOutputBuilder
fn default() -> GetImpersonationRoleEffectOutputBuilder
source§impl PartialEq for GetImpersonationRoleEffectOutputBuilder
impl PartialEq for GetImpersonationRoleEffectOutputBuilder
source§fn eq(&self, other: &GetImpersonationRoleEffectOutputBuilder) -> bool
fn eq(&self, other: &GetImpersonationRoleEffectOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetImpersonationRoleEffectOutputBuilder
Auto Trait Implementations§
impl Freeze for GetImpersonationRoleEffectOutputBuilder
impl RefUnwindSafe for GetImpersonationRoleEffectOutputBuilder
impl Send for GetImpersonationRoleEffectOutputBuilder
impl Sync for GetImpersonationRoleEffectOutputBuilder
impl Unpin for GetImpersonationRoleEffectOutputBuilder
impl UnwindSafe for GetImpersonationRoleEffectOutputBuilder
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