Struct aws_sdk_iot::types::builders::RoleAliasDescriptionBuilder
source · #[non_exhaustive]pub struct RoleAliasDescriptionBuilder { /* private fields */ }
Expand description
A builder for RoleAliasDescription
.
Implementations§
source§impl RoleAliasDescriptionBuilder
impl RoleAliasDescriptionBuilder
sourcepub fn role_alias(self, input: impl Into<String>) -> Self
pub fn role_alias(self, input: impl Into<String>) -> Self
The role alias.
sourcepub fn set_role_alias(self, input: Option<String>) -> Self
pub fn set_role_alias(self, input: Option<String>) -> Self
The role alias.
sourcepub fn get_role_alias(&self) -> &Option<String>
pub fn get_role_alias(&self) -> &Option<String>
The role alias.
sourcepub fn role_alias_arn(self, input: impl Into<String>) -> Self
pub fn role_alias_arn(self, input: impl Into<String>) -> Self
The ARN of the role alias.
sourcepub fn set_role_alias_arn(self, input: Option<String>) -> Self
pub fn set_role_alias_arn(self, input: Option<String>) -> Self
The ARN of the role alias.
sourcepub fn get_role_alias_arn(&self) -> &Option<String>
pub fn get_role_alias_arn(&self) -> &Option<String>
The ARN of the role alias.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The role ARN.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The role ARN.
sourcepub fn credential_duration_seconds(self, input: i32) -> Self
pub fn credential_duration_seconds(self, input: i32) -> Self
The number of seconds for which the credential is valid.
sourcepub fn set_credential_duration_seconds(self, input: Option<i32>) -> Self
pub fn set_credential_duration_seconds(self, input: Option<i32>) -> Self
The number of seconds for which the credential is valid.
sourcepub fn get_credential_duration_seconds(&self) -> &Option<i32>
pub fn get_credential_duration_seconds(&self) -> &Option<i32>
The number of seconds for which the credential is valid.
sourcepub fn creation_date(self, input: DateTime) -> Self
pub fn creation_date(self, input: DateTime) -> Self
The UNIX timestamp of when the role alias was created.
sourcepub fn set_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_creation_date(self, input: Option<DateTime>) -> Self
The UNIX timestamp of when the role alias was created.
sourcepub fn get_creation_date(&self) -> &Option<DateTime>
pub fn get_creation_date(&self) -> &Option<DateTime>
The UNIX timestamp of when the role alias was created.
sourcepub fn last_modified_date(self, input: DateTime) -> Self
pub fn last_modified_date(self, input: DateTime) -> Self
The UNIX timestamp of when the role alias was last modified.
sourcepub fn set_last_modified_date(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_date(self, input: Option<DateTime>) -> Self
The UNIX timestamp of when the role alias was last modified.
sourcepub fn get_last_modified_date(&self) -> &Option<DateTime>
pub fn get_last_modified_date(&self) -> &Option<DateTime>
The UNIX timestamp of when the role alias was last modified.
sourcepub fn build(self) -> RoleAliasDescription
pub fn build(self) -> RoleAliasDescription
Consumes the builder and constructs a RoleAliasDescription
.
Trait Implementations§
source§impl Clone for RoleAliasDescriptionBuilder
impl Clone for RoleAliasDescriptionBuilder
source§fn clone(&self) -> RoleAliasDescriptionBuilder
fn clone(&self) -> RoleAliasDescriptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RoleAliasDescriptionBuilder
impl Debug for RoleAliasDescriptionBuilder
source§impl Default for RoleAliasDescriptionBuilder
impl Default for RoleAliasDescriptionBuilder
source§fn default() -> RoleAliasDescriptionBuilder
fn default() -> RoleAliasDescriptionBuilder
impl StructuralPartialEq for RoleAliasDescriptionBuilder
Auto Trait Implementations§
impl Freeze for RoleAliasDescriptionBuilder
impl RefUnwindSafe for RoleAliasDescriptionBuilder
impl Send for RoleAliasDescriptionBuilder
impl Sync for RoleAliasDescriptionBuilder
impl Unpin for RoleAliasDescriptionBuilder
impl UnwindSafe for RoleAliasDescriptionBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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