#[non_exhaustive]pub struct IamInstanceProfileAssociationBuilder { /* private fields */ }
Expand description
A builder for IamInstanceProfileAssociation
.
Implementations§
source§impl IamInstanceProfileAssociationBuilder
impl IamInstanceProfileAssociationBuilder
sourcepub fn association_id(self, input: impl Into<String>) -> Self
pub fn association_id(self, input: impl Into<String>) -> Self
The ID of the association.
sourcepub fn set_association_id(self, input: Option<String>) -> Self
pub fn set_association_id(self, input: Option<String>) -> Self
The ID of the association.
sourcepub fn get_association_id(&self) -> &Option<String>
pub fn get_association_id(&self) -> &Option<String>
The ID of the association.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The ID of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The ID of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The ID of the instance.
sourcepub fn iam_instance_profile(self, input: IamInstanceProfile) -> Self
pub fn iam_instance_profile(self, input: IamInstanceProfile) -> Self
The IAM instance profile.
sourcepub fn set_iam_instance_profile(self, input: Option<IamInstanceProfile>) -> Self
pub fn set_iam_instance_profile(self, input: Option<IamInstanceProfile>) -> Self
The IAM instance profile.
sourcepub fn get_iam_instance_profile(&self) -> &Option<IamInstanceProfile>
pub fn get_iam_instance_profile(&self) -> &Option<IamInstanceProfile>
The IAM instance profile.
sourcepub fn state(self, input: IamInstanceProfileAssociationState) -> Self
pub fn state(self, input: IamInstanceProfileAssociationState) -> Self
The state of the association.
sourcepub fn set_state(
self,
input: Option<IamInstanceProfileAssociationState>,
) -> Self
pub fn set_state( self, input: Option<IamInstanceProfileAssociationState>, ) -> Self
The state of the association.
sourcepub fn get_state(&self) -> &Option<IamInstanceProfileAssociationState>
pub fn get_state(&self) -> &Option<IamInstanceProfileAssociationState>
The state of the association.
sourcepub fn timestamp(self, input: DateTime) -> Self
pub fn timestamp(self, input: DateTime) -> Self
The time the IAM instance profile was associated with the instance.
sourcepub fn set_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_timestamp(self, input: Option<DateTime>) -> Self
The time the IAM instance profile was associated with the instance.
sourcepub fn get_timestamp(&self) -> &Option<DateTime>
pub fn get_timestamp(&self) -> &Option<DateTime>
The time the IAM instance profile was associated with the instance.
sourcepub fn build(self) -> IamInstanceProfileAssociation
pub fn build(self) -> IamInstanceProfileAssociation
Consumes the builder and constructs a IamInstanceProfileAssociation
.
Trait Implementations§
source§impl Clone for IamInstanceProfileAssociationBuilder
impl Clone for IamInstanceProfileAssociationBuilder
source§fn clone(&self) -> IamInstanceProfileAssociationBuilder
fn clone(&self) -> IamInstanceProfileAssociationBuilder
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 IamInstanceProfileAssociationBuilder
impl Default for IamInstanceProfileAssociationBuilder
source§fn default() -> IamInstanceProfileAssociationBuilder
fn default() -> IamInstanceProfileAssociationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for IamInstanceProfileAssociationBuilder
impl PartialEq for IamInstanceProfileAssociationBuilder
source§fn eq(&self, other: &IamInstanceProfileAssociationBuilder) -> bool
fn eq(&self, other: &IamInstanceProfileAssociationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IamInstanceProfileAssociationBuilder
Auto Trait Implementations§
impl Freeze for IamInstanceProfileAssociationBuilder
impl RefUnwindSafe for IamInstanceProfileAssociationBuilder
impl Send for IamInstanceProfileAssociationBuilder
impl Sync for IamInstanceProfileAssociationBuilder
impl Unpin for IamInstanceProfileAssociationBuilder
impl UnwindSafe for IamInstanceProfileAssociationBuilder
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.