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