Struct aws_sdk_workmail::input::PutAccessControlRuleInput
source · #[non_exhaustive]pub struct PutAccessControlRuleInput { /* private fields */ }
Implementations§
source§impl PutAccessControlRuleInput
impl PutAccessControlRuleInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutAccessControlRule, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutAccessControlRule, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<PutAccessControlRule
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PutAccessControlRuleInput
.
source§impl PutAccessControlRuleInput
impl PutAccessControlRuleInput
sourcepub fn effect(&self) -> Option<&AccessControlRuleEffect>
pub fn effect(&self) -> Option<&AccessControlRuleEffect>
The rule effect.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The rule description.
sourcepub fn not_ip_ranges(&self) -> Option<&[String]>
pub fn not_ip_ranges(&self) -> Option<&[String]>
IPv4 CIDR ranges to exclude from the rule.
sourcepub fn actions(&self) -> Option<&[String]>
pub fn actions(&self) -> Option<&[String]>
Access protocol actions to include in the rule. Valid values include ActiveSync
, AutoDiscover
, EWS
, IMAP
, SMTP
, WindowsOutlook
, and WebMail
.
sourcepub fn not_actions(&self) -> Option<&[String]>
pub fn not_actions(&self) -> Option<&[String]>
Access protocol actions to exclude from the rule. Valid values include ActiveSync
, AutoDiscover
, EWS
, IMAP
, SMTP
, WindowsOutlook
, and WebMail
.
sourcepub fn not_user_ids(&self) -> Option<&[String]>
pub fn not_user_ids(&self) -> Option<&[String]>
User IDs to exclude from the rule.
sourcepub fn organization_id(&self) -> Option<&str>
pub fn organization_id(&self) -> Option<&str>
The identifier of the organization.
sourcepub fn impersonation_role_ids(&self) -> Option<&[String]>
pub fn impersonation_role_ids(&self) -> Option<&[String]>
Impersonation role IDs to include in the rule.
sourcepub fn not_impersonation_role_ids(&self) -> Option<&[String]>
pub fn not_impersonation_role_ids(&self) -> Option<&[String]>
Impersonation role IDs to exclude from the rule.
Trait Implementations§
source§impl Clone for PutAccessControlRuleInput
impl Clone for PutAccessControlRuleInput
source§fn clone(&self) -> PutAccessControlRuleInput
fn clone(&self) -> PutAccessControlRuleInput
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 PutAccessControlRuleInput
impl Debug for PutAccessControlRuleInput
source§impl PartialEq<PutAccessControlRuleInput> for PutAccessControlRuleInput
impl PartialEq<PutAccessControlRuleInput> for PutAccessControlRuleInput
source§fn eq(&self, other: &PutAccessControlRuleInput) -> bool
fn eq(&self, other: &PutAccessControlRuleInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.