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 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 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 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 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<ImpersonationRoleBuilder> for ImpersonationRoleBuilder
impl PartialEq<ImpersonationRoleBuilder> 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 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