#[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.
This field is required.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 get_role_alias(&self) -> &Option<String>
pub fn get_role_alias(&self) -> &Option<String>
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 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 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 get_credential_duration_seconds(&self) -> &Option<i32>
pub fn get_credential_duration_seconds(&self) -> &Option<i32>
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
.
source§impl UpdateRoleAliasInputBuilder
impl UpdateRoleAliasInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateRoleAliasOutput, SdkError<UpdateRoleAliasError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateRoleAliasOutput, SdkError<UpdateRoleAliasError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateRoleAliasInputBuilder
impl Clone for UpdateRoleAliasInputBuilder
source§fn clone(&self) -> UpdateRoleAliasInputBuilder
fn clone(&self) -> UpdateRoleAliasInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for UpdateRoleAliasInputBuilder
impl PartialEq for UpdateRoleAliasInputBuilder
source§fn eq(&self, other: &UpdateRoleAliasInputBuilder) -> bool
fn eq(&self, other: &UpdateRoleAliasInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateRoleAliasInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateRoleAliasInputBuilder
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
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