Struct aws_sdk_iam::operation::update_role_description::builders::UpdateRoleDescriptionOutputBuilder
source · #[non_exhaustive]pub struct UpdateRoleDescriptionOutputBuilder { /* private fields */ }Expand description
A builder for UpdateRoleDescriptionOutput.
Implementations§
source§impl UpdateRoleDescriptionOutputBuilder
impl UpdateRoleDescriptionOutputBuilder
sourcepub fn role(self, input: Role) -> Self
pub fn role(self, input: Role) -> Self
A structure that contains details about the modified role.
sourcepub fn set_role(self, input: Option<Role>) -> Self
pub fn set_role(self, input: Option<Role>) -> Self
A structure that contains details about the modified role.
sourcepub fn get_role(&self) -> &Option<Role>
pub fn get_role(&self) -> &Option<Role>
A structure that contains details about the modified role.
sourcepub fn build(self) -> UpdateRoleDescriptionOutput
pub fn build(self) -> UpdateRoleDescriptionOutput
Consumes the builder and constructs a UpdateRoleDescriptionOutput.
Trait Implementations§
source§impl Clone for UpdateRoleDescriptionOutputBuilder
impl Clone for UpdateRoleDescriptionOutputBuilder
source§fn clone(&self) -> UpdateRoleDescriptionOutputBuilder
fn clone(&self) -> UpdateRoleDescriptionOutputBuilder
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 UpdateRoleDescriptionOutputBuilder
impl Default for UpdateRoleDescriptionOutputBuilder
source§fn default() -> UpdateRoleDescriptionOutputBuilder
fn default() -> UpdateRoleDescriptionOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateRoleDescriptionOutputBuilder
impl PartialEq for UpdateRoleDescriptionOutputBuilder
source§fn eq(&self, other: &UpdateRoleDescriptionOutputBuilder) -> bool
fn eq(&self, other: &UpdateRoleDescriptionOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateRoleDescriptionOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateRoleDescriptionOutputBuilder
impl RefUnwindSafe for UpdateRoleDescriptionOutputBuilder
impl Send for UpdateRoleDescriptionOutputBuilder
impl Sync for UpdateRoleDescriptionOutputBuilder
impl Unpin for UpdateRoleDescriptionOutputBuilder
impl UnwindSafe for UpdateRoleDescriptionOutputBuilder
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.