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 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 set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
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 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 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 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
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 RoleAliasDescriptionBuilder
impl Debug for RoleAliasDescriptionBuilder
source§impl Default for RoleAliasDescriptionBuilder
impl Default for RoleAliasDescriptionBuilder
source§fn default() -> RoleAliasDescriptionBuilder
fn default() -> RoleAliasDescriptionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<RoleAliasDescriptionBuilder> for RoleAliasDescriptionBuilder
impl PartialEq<RoleAliasDescriptionBuilder> for RoleAliasDescriptionBuilder
source§fn eq(&self, other: &RoleAliasDescriptionBuilder) -> bool
fn eq(&self, other: &RoleAliasDescriptionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.