Struct aws_sdk_workmail::operation::get_access_control_effect::builders::GetAccessControlEffectFluentBuilder
source · pub struct GetAccessControlEffectFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetAccessControlEffect
.
Gets the effects of an organization's access control rules as they apply to a specified IPv4 address, access protocol action, and user ID or impersonation role ID. You must provide either the user ID or impersonation role ID. Impersonation role ID can only be used with Action EWS.
Implementations§
source§impl GetAccessControlEffectFluentBuilder
impl GetAccessControlEffectFluentBuilder
sourcepub fn as_input(&self) -> &GetAccessControlEffectInputBuilder
pub fn as_input(&self) -> &GetAccessControlEffectInputBuilder
Access the GetAccessControlEffect as a reference.
sourcepub async fn send(
self
) -> Result<GetAccessControlEffectOutput, SdkError<GetAccessControlEffectError, HttpResponse>>
pub async fn send( self ) -> Result<GetAccessControlEffectOutput, SdkError<GetAccessControlEffectError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<GetAccessControlEffectOutput, GetAccessControlEffectError, Self>
pub fn customize( self ) -> CustomizableOperation<GetAccessControlEffectOutput, GetAccessControlEffectError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn organization_id(self, input: impl Into<String>) -> Self
pub fn organization_id(self, input: impl Into<String>) -> Self
The identifier for the organization.
sourcepub fn set_organization_id(self, input: Option<String>) -> Self
pub fn set_organization_id(self, input: Option<String>) -> Self
The identifier for the organization.
sourcepub fn get_organization_id(&self) -> &Option<String>
pub fn get_organization_id(&self) -> &Option<String>
The identifier for the organization.
sourcepub fn ip_address(self, input: impl Into<String>) -> Self
pub fn ip_address(self, input: impl Into<String>) -> Self
The IPv4 address.
sourcepub fn set_ip_address(self, input: Option<String>) -> Self
pub fn set_ip_address(self, input: Option<String>) -> Self
The IPv4 address.
sourcepub fn get_ip_address(&self) -> &Option<String>
pub fn get_ip_address(&self) -> &Option<String>
The IPv4 address.
sourcepub fn action(self, input: impl Into<String>) -> Self
pub fn action(self, input: impl Into<String>) -> Self
The access protocol action. Valid values include ActiveSync
, AutoDiscover
, EWS
, IMAP
, SMTP
, WindowsOutlook
, and WebMail
.
sourcepub fn set_action(self, input: Option<String>) -> Self
pub fn set_action(self, input: Option<String>) -> Self
The access protocol action. Valid values include ActiveSync
, AutoDiscover
, EWS
, IMAP
, SMTP
, WindowsOutlook
, and WebMail
.
sourcepub fn get_action(&self) -> &Option<String>
pub fn get_action(&self) -> &Option<String>
The access protocol action. Valid values include ActiveSync
, AutoDiscover
, EWS
, IMAP
, SMTP
, WindowsOutlook
, and WebMail
.
sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The user ID.
sourcepub fn get_user_id(&self) -> &Option<String>
pub fn get_user_id(&self) -> &Option<String>
The user ID.
sourcepub fn impersonation_role_id(self, input: impl Into<String>) -> Self
pub fn impersonation_role_id(self, input: impl Into<String>) -> Self
The impersonation role ID.
sourcepub fn set_impersonation_role_id(self, input: Option<String>) -> Self
pub fn set_impersonation_role_id(self, input: Option<String>) -> Self
The impersonation role ID.
sourcepub fn get_impersonation_role_id(&self) -> &Option<String>
pub fn get_impersonation_role_id(&self) -> &Option<String>
The impersonation role ID.
Trait Implementations§
source§impl Clone for GetAccessControlEffectFluentBuilder
impl Clone for GetAccessControlEffectFluentBuilder
source§fn clone(&self) -> GetAccessControlEffectFluentBuilder
fn clone(&self) -> GetAccessControlEffectFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for GetAccessControlEffectFluentBuilder
impl !RefUnwindSafe for GetAccessControlEffectFluentBuilder
impl Send for GetAccessControlEffectFluentBuilder
impl Sync for GetAccessControlEffectFluentBuilder
impl Unpin for GetAccessControlEffectFluentBuilder
impl !UnwindSafe for GetAccessControlEffectFluentBuilder
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