Struct aws_sdk_workmail::operation::get_mobile_device_access_effect::builders::GetMobileDeviceAccessEffectOutputBuilder
source · #[non_exhaustive]pub struct GetMobileDeviceAccessEffectOutputBuilder { /* private fields */ }
Expand description
A builder for GetMobileDeviceAccessEffectOutput
.
Implementations§
source§impl GetMobileDeviceAccessEffectOutputBuilder
impl GetMobileDeviceAccessEffectOutputBuilder
sourcepub fn effect(self, input: MobileDeviceAccessRuleEffect) -> Self
pub fn effect(self, input: MobileDeviceAccessRuleEffect) -> Self
The effect of the simulated access, ALLOW
or DENY
, after evaluating mobile device access rules in the WorkMail organization for the simulated user parameters.
sourcepub fn set_effect(self, input: Option<MobileDeviceAccessRuleEffect>) -> Self
pub fn set_effect(self, input: Option<MobileDeviceAccessRuleEffect>) -> Self
The effect of the simulated access, ALLOW
or DENY
, after evaluating mobile device access rules in the WorkMail organization for the simulated user parameters.
sourcepub fn get_effect(&self) -> &Option<MobileDeviceAccessRuleEffect>
pub fn get_effect(&self) -> &Option<MobileDeviceAccessRuleEffect>
The effect of the simulated access, ALLOW
or DENY
, after evaluating mobile device access rules in the WorkMail organization for the simulated user parameters.
sourcepub fn matched_rules(self, input: MobileDeviceAccessMatchedRule) -> Self
pub fn matched_rules(self, input: MobileDeviceAccessMatchedRule) -> Self
Appends an item to matched_rules
.
To override the contents of this collection use set_matched_rules
.
A list of the rules which matched the simulated user input and produced the effect.
sourcepub fn set_matched_rules(
self,
input: Option<Vec<MobileDeviceAccessMatchedRule>>
) -> Self
pub fn set_matched_rules( self, input: Option<Vec<MobileDeviceAccessMatchedRule>> ) -> Self
A list of the rules which matched the simulated user input and produced the effect.
sourcepub fn get_matched_rules(&self) -> &Option<Vec<MobileDeviceAccessMatchedRule>>
pub fn get_matched_rules(&self) -> &Option<Vec<MobileDeviceAccessMatchedRule>>
A list of the rules which matched the simulated user input and produced the effect.
sourcepub fn build(self) -> GetMobileDeviceAccessEffectOutput
pub fn build(self) -> GetMobileDeviceAccessEffectOutput
Consumes the builder and constructs a GetMobileDeviceAccessEffectOutput
.
Trait Implementations§
source§impl Clone for GetMobileDeviceAccessEffectOutputBuilder
impl Clone for GetMobileDeviceAccessEffectOutputBuilder
source§fn clone(&self) -> GetMobileDeviceAccessEffectOutputBuilder
fn clone(&self) -> GetMobileDeviceAccessEffectOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetMobileDeviceAccessEffectOutputBuilder
impl Default for GetMobileDeviceAccessEffectOutputBuilder
source§fn default() -> GetMobileDeviceAccessEffectOutputBuilder
fn default() -> GetMobileDeviceAccessEffectOutputBuilder
source§impl PartialEq for GetMobileDeviceAccessEffectOutputBuilder
impl PartialEq for GetMobileDeviceAccessEffectOutputBuilder
source§fn eq(&self, other: &GetMobileDeviceAccessEffectOutputBuilder) -> bool
fn eq(&self, other: &GetMobileDeviceAccessEffectOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetMobileDeviceAccessEffectOutputBuilder
Auto Trait Implementations§
impl Freeze for GetMobileDeviceAccessEffectOutputBuilder
impl RefUnwindSafe for GetMobileDeviceAccessEffectOutputBuilder
impl Send for GetMobileDeviceAccessEffectOutputBuilder
impl Sync for GetMobileDeviceAccessEffectOutputBuilder
impl Unpin for GetMobileDeviceAccessEffectOutputBuilder
impl UnwindSafe for GetMobileDeviceAccessEffectOutputBuilder
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