Struct aws_sdk_workmail::operation::get_access_control_effect::builders::GetAccessControlEffectInputBuilder
source · #[non_exhaustive]pub struct GetAccessControlEffectInputBuilder { /* private fields */ }
Expand description
A builder for GetAccessControlEffectInput
.
Implementations§
source§impl GetAccessControlEffectInputBuilder
impl GetAccessControlEffectInputBuilder
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.
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<GetAccessControlEffectInput, BuildError>
pub fn build(self) -> Result<GetAccessControlEffectInput, BuildError>
Consumes the builder and constructs a GetAccessControlEffectInput
.
source§impl GetAccessControlEffectInputBuilder
impl GetAccessControlEffectInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetAccessControlEffectOutput, SdkError<GetAccessControlEffectError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetAccessControlEffectOutput, SdkError<GetAccessControlEffectError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetAccessControlEffectInputBuilder
impl Clone for GetAccessControlEffectInputBuilder
source§fn clone(&self) -> GetAccessControlEffectInputBuilder
fn clone(&self) -> GetAccessControlEffectInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetAccessControlEffectInputBuilder
impl Default for GetAccessControlEffectInputBuilder
source§fn default() -> GetAccessControlEffectInputBuilder
fn default() -> GetAccessControlEffectInputBuilder
source§impl PartialEq for GetAccessControlEffectInputBuilder
impl PartialEq for GetAccessControlEffectInputBuilder
source§fn eq(&self, other: &GetAccessControlEffectInputBuilder) -> bool
fn eq(&self, other: &GetAccessControlEffectInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetAccessControlEffectInputBuilder
Auto Trait Implementations§
impl Freeze for GetAccessControlEffectInputBuilder
impl RefUnwindSafe for GetAccessControlEffectInputBuilder
impl Send for GetAccessControlEffectInputBuilder
impl Sync for GetAccessControlEffectInputBuilder
impl Unpin for GetAccessControlEffectInputBuilder
impl UnwindSafe for GetAccessControlEffectInputBuilder
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