Struct aws_sdk_workmail::types::builders::ImpersonationRoleBuilder
source · #[non_exhaustive]pub struct ImpersonationRoleBuilder { /* private fields */ }
Expand description
A builder for ImpersonationRole
.
Implementations§
source§impl ImpersonationRoleBuilder
impl ImpersonationRoleBuilder
sourcepub fn impersonation_role_id(self, input: impl Into<String>) -> Self
pub fn impersonation_role_id(self, input: impl Into<String>) -> Self
The identifier of the impersonation role.
sourcepub fn set_impersonation_role_id(self, input: Option<String>) -> Self
pub fn set_impersonation_role_id(self, input: Option<String>) -> Self
The identifier of the impersonation role.
sourcepub fn get_impersonation_role_id(&self) -> &Option<String>
pub fn get_impersonation_role_id(&self) -> &Option<String>
The identifier of the impersonation role.
sourcepub fn type(self, input: ImpersonationRoleType) -> Self
pub fn type(self, input: ImpersonationRoleType) -> Self
The impersonation role type.
sourcepub fn set_type(self, input: Option<ImpersonationRoleType>) -> Self
pub fn set_type(self, input: Option<ImpersonationRoleType>) -> Self
The impersonation role type.
sourcepub fn get_type(&self) -> &Option<ImpersonationRoleType>
pub fn get_type(&self) -> &Option<ImpersonationRoleType>
The impersonation role type.
sourcepub fn date_created(self, input: DateTime) -> Self
pub fn date_created(self, input: DateTime) -> Self
The date when the impersonation role was created.
sourcepub fn set_date_created(self, input: Option<DateTime>) -> Self
pub fn set_date_created(self, input: Option<DateTime>) -> Self
The date when the impersonation role was created.
sourcepub fn get_date_created(&self) -> &Option<DateTime>
pub fn get_date_created(&self) -> &Option<DateTime>
The date when the impersonation role was created.
sourcepub fn date_modified(self, input: DateTime) -> Self
pub fn date_modified(self, input: DateTime) -> Self
The date when the impersonation role was last modified.
sourcepub fn set_date_modified(self, input: Option<DateTime>) -> Self
pub fn set_date_modified(self, input: Option<DateTime>) -> Self
The date when the impersonation role was last modified.
sourcepub fn get_date_modified(&self) -> &Option<DateTime>
pub fn get_date_modified(&self) -> &Option<DateTime>
The date when the impersonation role was last modified.
sourcepub fn build(self) -> ImpersonationRole
pub fn build(self) -> ImpersonationRole
Consumes the builder and constructs a ImpersonationRole
.
Trait Implementations§
source§impl Clone for ImpersonationRoleBuilder
impl Clone for ImpersonationRoleBuilder
source§fn clone(&self) -> ImpersonationRoleBuilder
fn clone(&self) -> ImpersonationRoleBuilder
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 ImpersonationRoleBuilder
impl Debug for ImpersonationRoleBuilder
source§impl Default for ImpersonationRoleBuilder
impl Default for ImpersonationRoleBuilder
source§fn default() -> ImpersonationRoleBuilder
fn default() -> ImpersonationRoleBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ImpersonationRoleBuilder
impl PartialEq for ImpersonationRoleBuilder
source§fn eq(&self, other: &ImpersonationRoleBuilder) -> bool
fn eq(&self, other: &ImpersonationRoleBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImpersonationRoleBuilder
Auto Trait Implementations§
impl Freeze for ImpersonationRoleBuilder
impl RefUnwindSafe for ImpersonationRoleBuilder
impl Send for ImpersonationRoleBuilder
impl Sync for ImpersonationRoleBuilder
impl Unpin for ImpersonationRoleBuilder
impl UnwindSafe for ImpersonationRoleBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.