pub struct Builder { /* private fields */ }
Expand description
A builder for ReplaceIamInstanceProfileAssociationInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn iam_instance_profile(self, input: IamInstanceProfileSpecification) -> Self
pub fn iam_instance_profile(self, input: IamInstanceProfileSpecification) -> Self
The IAM instance profile.
sourcepub fn set_iam_instance_profile(
self,
input: Option<IamInstanceProfileSpecification>
) -> Self
pub fn set_iam_instance_profile(
self,
input: Option<IamInstanceProfileSpecification>
) -> Self
The IAM instance profile.
sourcepub fn association_id(self, input: impl Into<String>) -> Self
pub fn association_id(self, input: impl Into<String>) -> Self
The ID of the existing IAM instance profile 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 existing IAM instance profile association.
sourcepub fn build(
self
) -> Result<ReplaceIamInstanceProfileAssociationInput, BuildError>
pub fn build(
self
) -> Result<ReplaceIamInstanceProfileAssociationInput, BuildError>
Consumes the builder and constructs a ReplaceIamInstanceProfileAssociationInput
.