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
source§impl PartialEq for RoleAliasDescriptionBuilder
impl PartialEq for RoleAliasDescriptionBuilder
source§fn eq(&self, other: &RoleAliasDescriptionBuilder) -> bool
fn eq(&self, other: &RoleAliasDescriptionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.