#[non_exhaustive]pub struct UpdateRoleAliasInputBuilder { /* private fields */ }Expand description
A builder for UpdateRoleAliasInput.
Implementations§
source§impl UpdateRoleAliasInputBuilder
impl UpdateRoleAliasInputBuilder
sourcepub fn role_alias(self, input: impl Into<String>) -> Self
pub fn role_alias(self, input: impl Into<String>) -> Self
The role alias to update.
sourcepub fn set_role_alias(self, input: Option<String>) -> Self
pub fn set_role_alias(self, input: Option<String>) -> Self
The role alias to update.
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 the credential will be valid.
This value must be less than or equal to the maximum session duration of the IAM role that the role alias references.
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 the credential will be valid.
This value must be less than or equal to the maximum session duration of the IAM role that the role alias references.
sourcepub fn build(self) -> Result<UpdateRoleAliasInput, BuildError>
pub fn build(self) -> Result<UpdateRoleAliasInput, BuildError>
Consumes the builder and constructs a UpdateRoleAliasInput.
Trait Implementations§
source§impl Clone for UpdateRoleAliasInputBuilder
impl Clone for UpdateRoleAliasInputBuilder
source§fn clone(&self) -> UpdateRoleAliasInputBuilder
fn clone(&self) -> UpdateRoleAliasInputBuilder
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 UpdateRoleAliasInputBuilder
impl Debug for UpdateRoleAliasInputBuilder
source§impl Default for UpdateRoleAliasInputBuilder
impl Default for UpdateRoleAliasInputBuilder
source§fn default() -> UpdateRoleAliasInputBuilder
fn default() -> UpdateRoleAliasInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<UpdateRoleAliasInputBuilder> for UpdateRoleAliasInputBuilder
impl PartialEq<UpdateRoleAliasInputBuilder> for UpdateRoleAliasInputBuilder
source§fn eq(&self, other: &UpdateRoleAliasInputBuilder) -> bool
fn eq(&self, other: &UpdateRoleAliasInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateRoleAliasInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateRoleAliasInputBuilder
impl Send for UpdateRoleAliasInputBuilder
impl Sync for UpdateRoleAliasInputBuilder
impl Unpin for UpdateRoleAliasInputBuilder
impl UnwindSafe for UpdateRoleAliasInputBuilder
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