Struct aws_sdk_workmail::model::ImpersonationRule
source · #[non_exhaustive]pub struct ImpersonationRule { /* private fields */ }
Expand description
The rules for the given impersonation role.
Implementations§
source§impl ImpersonationRule
impl ImpersonationRule
sourcepub fn impersonation_rule_id(&self) -> Option<&str>
pub fn impersonation_rule_id(&self) -> Option<&str>
The identifier of the rule.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The rule description.
sourcepub fn effect(&self) -> Option<&AccessEffect>
pub fn effect(&self) -> Option<&AccessEffect>
The effect of the rule when it matches the input. Allowed effect values are ALLOW
or DENY
.
sourcepub fn target_users(&self) -> Option<&[String]>
pub fn target_users(&self) -> Option<&[String]>
A list of user IDs that match the rule.
sourcepub fn not_target_users(&self) -> Option<&[String]>
pub fn not_target_users(&self) -> Option<&[String]>
A list of user IDs that don't match the rule.
source§impl ImpersonationRule
impl ImpersonationRule
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ImpersonationRule
.
Trait Implementations§
source§impl Clone for ImpersonationRule
impl Clone for ImpersonationRule
source§fn clone(&self) -> ImpersonationRule
fn clone(&self) -> ImpersonationRule
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 Debug for ImpersonationRule
impl Debug for ImpersonationRule
source§impl PartialEq<ImpersonationRule> for ImpersonationRule
impl PartialEq<ImpersonationRule> for ImpersonationRule
source§fn eq(&self, other: &ImpersonationRule) -> bool
fn eq(&self, other: &ImpersonationRule) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.