Struct aws_sdk_iam::operation::create_instance_profile::builders::CreateInstanceProfileOutputBuilder
source · #[non_exhaustive]pub struct CreateInstanceProfileOutputBuilder { /* private fields */ }
Expand description
A builder for CreateInstanceProfileOutput
.
Implementations§
source§impl CreateInstanceProfileOutputBuilder
impl CreateInstanceProfileOutputBuilder
sourcepub fn instance_profile(self, input: InstanceProfile) -> Self
pub fn instance_profile(self, input: InstanceProfile) -> Self
A structure containing details about the new instance profile.
sourcepub fn set_instance_profile(self, input: Option<InstanceProfile>) -> Self
pub fn set_instance_profile(self, input: Option<InstanceProfile>) -> Self
A structure containing details about the new instance profile.
sourcepub fn build(self) -> CreateInstanceProfileOutput
pub fn build(self) -> CreateInstanceProfileOutput
Consumes the builder and constructs a CreateInstanceProfileOutput
.
Trait Implementations§
source§impl Clone for CreateInstanceProfileOutputBuilder
impl Clone for CreateInstanceProfileOutputBuilder
source§fn clone(&self) -> CreateInstanceProfileOutputBuilder
fn clone(&self) -> CreateInstanceProfileOutputBuilder
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 CreateInstanceProfileOutputBuilder
impl Default for CreateInstanceProfileOutputBuilder
source§fn default() -> CreateInstanceProfileOutputBuilder
fn default() -> CreateInstanceProfileOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateInstanceProfileOutputBuilder> for CreateInstanceProfileOutputBuilder
impl PartialEq<CreateInstanceProfileOutputBuilder> for CreateInstanceProfileOutputBuilder
source§fn eq(&self, other: &CreateInstanceProfileOutputBuilder) -> bool
fn eq(&self, other: &CreateInstanceProfileOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.