pub struct Builder { /* private fields */ }
Expand description
A builder for IamInstanceProfileAssociation
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 build(self) -> IamInstanceProfileAssociation
pub fn build(self) -> IamInstanceProfileAssociation
Consumes the builder and constructs a IamInstanceProfileAssociation
.