Struct aws_sdk_workmail::operation::get_access_control_effect::builders::GetAccessControlEffectOutputBuilder
source · #[non_exhaustive]pub struct GetAccessControlEffectOutputBuilder { /* private fields */ }
Expand description
A builder for GetAccessControlEffectOutput
.
Implementations§
source§impl GetAccessControlEffectOutputBuilder
impl GetAccessControlEffectOutputBuilder
sourcepub fn effect(self, input: AccessControlRuleEffect) -> Self
pub fn effect(self, input: AccessControlRuleEffect) -> Self
The rule effect.
sourcepub fn set_effect(self, input: Option<AccessControlRuleEffect>) -> Self
pub fn set_effect(self, input: Option<AccessControlRuleEffect>) -> Self
The rule effect.
sourcepub fn get_effect(&self) -> &Option<AccessControlRuleEffect>
pub fn get_effect(&self) -> &Option<AccessControlRuleEffect>
The rule effect.
sourcepub fn matched_rules(self, input: impl Into<String>) -> Self
pub fn matched_rules(self, input: impl Into<String>) -> Self
Appends an item to matched_rules
.
To override the contents of this collection use set_matched_rules
.
The rules that match the given parameters, resulting in an effect.
sourcepub fn set_matched_rules(self, input: Option<Vec<String>>) -> Self
pub fn set_matched_rules(self, input: Option<Vec<String>>) -> Self
The rules that match the given parameters, resulting in an effect.
sourcepub fn get_matched_rules(&self) -> &Option<Vec<String>>
pub fn get_matched_rules(&self) -> &Option<Vec<String>>
The rules that match the given parameters, resulting in an effect.
sourcepub fn build(self) -> GetAccessControlEffectOutput
pub fn build(self) -> GetAccessControlEffectOutput
Consumes the builder and constructs a GetAccessControlEffectOutput
.
Trait Implementations§
source§impl Clone for GetAccessControlEffectOutputBuilder
impl Clone for GetAccessControlEffectOutputBuilder
source§fn clone(&self) -> GetAccessControlEffectOutputBuilder
fn clone(&self) -> GetAccessControlEffectOutputBuilder
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 GetAccessControlEffectOutputBuilder
impl Default for GetAccessControlEffectOutputBuilder
source§fn default() -> GetAccessControlEffectOutputBuilder
fn default() -> GetAccessControlEffectOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetAccessControlEffectOutputBuilder
impl PartialEq for GetAccessControlEffectOutputBuilder
source§fn eq(&self, other: &GetAccessControlEffectOutputBuilder) -> bool
fn eq(&self, other: &GetAccessControlEffectOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetAccessControlEffectOutputBuilder
Auto Trait Implementations§
impl Freeze for GetAccessControlEffectOutputBuilder
impl RefUnwindSafe for GetAccessControlEffectOutputBuilder
impl Send for GetAccessControlEffectOutputBuilder
impl Sync for GetAccessControlEffectOutputBuilder
impl Unpin for GetAccessControlEffectOutputBuilder
impl UnwindSafe for GetAccessControlEffectOutputBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.