#[non_exhaustive]pub struct CreateMobileDeviceAccessRuleInput { /* private fields */ }
Implementations§
source§impl CreateMobileDeviceAccessRuleInput
impl CreateMobileDeviceAccessRuleInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateMobileDeviceAccessRule, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateMobileDeviceAccessRule, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateMobileDeviceAccessRule
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateMobileDeviceAccessRuleInput
.
source§impl CreateMobileDeviceAccessRuleInput
impl CreateMobileDeviceAccessRuleInput
sourcepub fn organization_id(&self) -> Option<&str>
pub fn organization_id(&self) -> Option<&str>
The WorkMail organization under which the rule will be created.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
The idempotency token for the client request.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The rule description.
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 the rule will match.
sourcepub fn not_device_types(&self) -> Option<&[String]>
pub fn not_device_types(&self) -> Option<&[String]>
Device types that the 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 the rule will match.
sourcepub fn not_device_models(&self) -> Option<&[String]>
pub fn not_device_models(&self) -> Option<&[String]>
Device models that the 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 the 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 the rule will not match. All other device operating systems will match.
sourcepub fn device_user_agents(&self) -> Option<&[String]>
pub fn device_user_agents(&self) -> Option<&[String]>
Device user agents that the 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 the rule will not match. All other device user agents will match.
Trait Implementations§
source§impl Clone for CreateMobileDeviceAccessRuleInput
impl Clone for CreateMobileDeviceAccessRuleInput
source§fn clone(&self) -> CreateMobileDeviceAccessRuleInput
fn clone(&self) -> CreateMobileDeviceAccessRuleInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<CreateMobileDeviceAccessRuleInput> for CreateMobileDeviceAccessRuleInput
impl PartialEq<CreateMobileDeviceAccessRuleInput> for CreateMobileDeviceAccessRuleInput
source§fn eq(&self, other: &CreateMobileDeviceAccessRuleInput) -> bool
fn eq(&self, other: &CreateMobileDeviceAccessRuleInput) -> bool
self
and other
values to be equal, and is used
by ==
.