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 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>
Creates a shared type from an unshared type.