Struct aws_sdk_workmail::model::MobileDeviceAccessRule
source · #[non_exhaustive]pub struct MobileDeviceAccessRule { /* private fields */ }
Expand description
A rule that controls access to mobile devices for an WorkMail group.
Implementations§
source§impl MobileDeviceAccessRule
impl MobileDeviceAccessRule
sourcepub fn mobile_device_access_rule_id(&self) -> Option<&str>
pub fn mobile_device_access_rule_id(&self) -> Option<&str>
The ID assigned to a mobile access rule.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of a mobile access rule.
sourcepub fn effect(&self) -> Option<&MobileDeviceAccessRuleEffect>
pub fn effect(&self) -> Option<&MobileDeviceAccessRuleEffect>
The effect of the rule when it matches. Allowed values are ALLOW
or DENY
.
sourcepub fn device_types(&self) -> Option<&[String]>
pub fn device_types(&self) -> Option<&[String]>
Device types that a rule will match.
sourcepub fn not_device_types(&self) -> Option<&[String]>
pub fn not_device_types(&self) -> Option<&[String]>
Device types that a rule will not match. All other device types will match.
sourcepub fn device_models(&self) -> Option<&[String]>
pub fn device_models(&self) -> Option<&[String]>
Device models that a rule will match.
sourcepub fn not_device_models(&self) -> Option<&[String]>
pub fn not_device_models(&self) -> Option<&[String]>
Device models that a rule will not match. All other device models will match.
sourcepub fn device_operating_systems(&self) -> Option<&[String]>
pub fn device_operating_systems(&self) -> Option<&[String]>
Device operating systems that a rule will match.
sourcepub fn not_device_operating_systems(&self) -> Option<&[String]>
pub fn not_device_operating_systems(&self) -> Option<&[String]>
Device operating systems that a rule will not match. All other device types will match.
sourcepub fn device_user_agents(&self) -> Option<&[String]>
pub fn device_user_agents(&self) -> Option<&[String]>
Device user agents that a rule will match.
sourcepub fn not_device_user_agents(&self) -> Option<&[String]>
pub fn not_device_user_agents(&self) -> Option<&[String]>
Device user agents that a rule will not match. All other device user agents will match.
sourcepub fn date_created(&self) -> Option<&DateTime>
pub fn date_created(&self) -> Option<&DateTime>
The date and time at which an access rule was created.
sourcepub fn date_modified(&self) -> Option<&DateTime>
pub fn date_modified(&self) -> Option<&DateTime>
The date and time at which an access rule was modified.
source§impl MobileDeviceAccessRule
impl MobileDeviceAccessRule
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture MobileDeviceAccessRule
.
Trait Implementations§
source§impl Clone for MobileDeviceAccessRule
impl Clone for MobileDeviceAccessRule
source§fn clone(&self) -> MobileDeviceAccessRule
fn clone(&self) -> MobileDeviceAccessRule
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MobileDeviceAccessRule
impl Debug for MobileDeviceAccessRule
source§impl PartialEq<MobileDeviceAccessRule> for MobileDeviceAccessRule
impl PartialEq<MobileDeviceAccessRule> for MobileDeviceAccessRule
source§fn eq(&self, other: &MobileDeviceAccessRule) -> bool
fn eq(&self, other: &MobileDeviceAccessRule) -> bool
self
and other
values to be equal, and is used
by ==
.