Interface ReplaceIamInstanceProfileAssociationResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<ReplaceIamInstanceProfileAssociationResponse.Builder,,- ReplaceIamInstanceProfileAssociationResponse> - Ec2Response.Builder,- SdkBuilder<ReplaceIamInstanceProfileAssociationResponse.Builder,,- ReplaceIamInstanceProfileAssociationResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- ReplaceIamInstanceProfileAssociationResponse
@Mutable
@NotThreadSafe
public static interface ReplaceIamInstanceProfileAssociationResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ReplaceIamInstanceProfileAssociationResponse.Builder,ReplaceIamInstanceProfileAssociationResponse> 
- 
Method SummaryModifier and TypeMethodDescriptioniamInstanceProfileAssociation(Consumer<IamInstanceProfileAssociation.Builder> iamInstanceProfileAssociation) Information about the IAM instance profile association.iamInstanceProfileAssociation(IamInstanceProfileAssociation iamInstanceProfileAssociation) Information about the IAM instance profile association.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
iamInstanceProfileAssociationReplaceIamInstanceProfileAssociationResponse.Builder iamInstanceProfileAssociation(IamInstanceProfileAssociation iamInstanceProfileAssociation) Information about the IAM instance profile association. - Parameters:
- iamInstanceProfileAssociation- Information about the IAM instance profile association.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
iamInstanceProfileAssociationdefault ReplaceIamInstanceProfileAssociationResponse.Builder iamInstanceProfileAssociation(Consumer<IamInstanceProfileAssociation.Builder> iamInstanceProfileAssociation) Information about the IAM instance profile association. This is a convenience method that creates an instance of theIamInstanceProfileAssociation.Builderavoiding the need to create one manually viaIamInstanceProfileAssociation.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toiamInstanceProfileAssociation(IamInstanceProfileAssociation).- Parameters:
- iamInstanceProfileAssociation- a consumer that will call methods on- IamInstanceProfileAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-