Struct aws_sdk_iam::operation::update_role_description::builders::UpdateRoleDescriptionInputBuilder
source · #[non_exhaustive]pub struct UpdateRoleDescriptionInputBuilder { /* private fields */ }Expand description
A builder for UpdateRoleDescriptionInput.
Implementations§
source§impl UpdateRoleDescriptionInputBuilder
impl UpdateRoleDescriptionInputBuilder
sourcepub fn role_name(self, input: impl Into<String>) -> Self
pub fn role_name(self, input: impl Into<String>) -> Self
The name of the role that you want to modify.
This field is required.sourcepub fn set_role_name(self, input: Option<String>) -> Self
pub fn set_role_name(self, input: Option<String>) -> Self
The name of the role that you want to modify.
sourcepub fn get_role_name(&self) -> &Option<String>
pub fn get_role_name(&self) -> &Option<String>
The name of the role that you want to modify.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The new description that you want to apply to the specified role.
This field is required.sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The new description that you want to apply to the specified role.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The new description that you want to apply to the specified role.
sourcepub fn build(self) -> Result<UpdateRoleDescriptionInput, BuildError>
pub fn build(self) -> Result<UpdateRoleDescriptionInput, BuildError>
Consumes the builder and constructs a UpdateRoleDescriptionInput.
source§impl UpdateRoleDescriptionInputBuilder
impl UpdateRoleDescriptionInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateRoleDescriptionOutput, SdkError<UpdateRoleDescriptionError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateRoleDescriptionOutput, SdkError<UpdateRoleDescriptionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateRoleDescriptionInputBuilder
impl Clone for UpdateRoleDescriptionInputBuilder
source§fn clone(&self) -> UpdateRoleDescriptionInputBuilder
fn clone(&self) -> UpdateRoleDescriptionInputBuilder
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 Default for UpdateRoleDescriptionInputBuilder
impl Default for UpdateRoleDescriptionInputBuilder
source§fn default() -> UpdateRoleDescriptionInputBuilder
fn default() -> UpdateRoleDescriptionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateRoleDescriptionInputBuilder
impl PartialEq for UpdateRoleDescriptionInputBuilder
source§fn eq(&self, other: &UpdateRoleDescriptionInputBuilder) -> bool
fn eq(&self, other: &UpdateRoleDescriptionInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateRoleDescriptionInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateRoleDescriptionInputBuilder
impl RefUnwindSafe for UpdateRoleDescriptionInputBuilder
impl Send for UpdateRoleDescriptionInputBuilder
impl Sync for UpdateRoleDescriptionInputBuilder
impl Unpin for UpdateRoleDescriptionInputBuilder
impl UnwindSafe for UpdateRoleDescriptionInputBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.