Struct aws_sdk_ec2::operation::associate_iam_instance_profile::builders::AssociateIamInstanceProfileOutputBuilder
source · #[non_exhaustive]pub struct AssociateIamInstanceProfileOutputBuilder { /* private fields */ }Expand description
A builder for AssociateIamInstanceProfileOutput.
Implementations§
source§impl AssociateIamInstanceProfileOutputBuilder
impl AssociateIamInstanceProfileOutputBuilder
sourcepub fn iam_instance_profile_association(
self,
input: IamInstanceProfileAssociation,
) -> Self
pub fn iam_instance_profile_association( self, input: IamInstanceProfileAssociation, ) -> Self
Information about the IAM instance profile association.
sourcepub fn set_iam_instance_profile_association(
self,
input: Option<IamInstanceProfileAssociation>,
) -> Self
pub fn set_iam_instance_profile_association( self, input: Option<IamInstanceProfileAssociation>, ) -> Self
Information about the IAM instance profile association.
sourcepub fn get_iam_instance_profile_association(
&self,
) -> &Option<IamInstanceProfileAssociation>
pub fn get_iam_instance_profile_association( &self, ) -> &Option<IamInstanceProfileAssociation>
Information about the IAM instance profile association.
sourcepub fn build(self) -> AssociateIamInstanceProfileOutput
pub fn build(self) -> AssociateIamInstanceProfileOutput
Consumes the builder and constructs a AssociateIamInstanceProfileOutput.
Trait Implementations§
source§impl Clone for AssociateIamInstanceProfileOutputBuilder
impl Clone for AssociateIamInstanceProfileOutputBuilder
source§fn clone(&self) -> AssociateIamInstanceProfileOutputBuilder
fn clone(&self) -> AssociateIamInstanceProfileOutputBuilder
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 AssociateIamInstanceProfileOutputBuilder
impl Default for AssociateIamInstanceProfileOutputBuilder
source§fn default() -> AssociateIamInstanceProfileOutputBuilder
fn default() -> AssociateIamInstanceProfileOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AssociateIamInstanceProfileOutputBuilder
impl PartialEq for AssociateIamInstanceProfileOutputBuilder
source§fn eq(&self, other: &AssociateIamInstanceProfileOutputBuilder) -> bool
fn eq(&self, other: &AssociateIamInstanceProfileOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AssociateIamInstanceProfileOutputBuilder
Auto Trait Implementations§
impl Freeze for AssociateIamInstanceProfileOutputBuilder
impl RefUnwindSafe for AssociateIamInstanceProfileOutputBuilder
impl Send for AssociateIamInstanceProfileOutputBuilder
impl Sync for AssociateIamInstanceProfileOutputBuilder
impl Unpin for AssociateIamInstanceProfileOutputBuilder
impl UnwindSafe for AssociateIamInstanceProfileOutputBuilder
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.