Interface ReplaceIamInstanceProfileAssociationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ReplaceIamInstanceProfileAssociationResponse.Builder,,ReplaceIamInstanceProfileAssociationResponse> Ec2Response.Builder,SdkBuilder<ReplaceIamInstanceProfileAssociationResponse.Builder,,ReplaceIamInstanceProfileAssociationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ReplaceIamInstanceProfileAssociationResponse
public static interface ReplaceIamInstanceProfileAssociationResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ReplaceIamInstanceProfileAssociationResponse.Builder,ReplaceIamInstanceProfileAssociationResponse>
-
Method Summary
Modifier 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.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
iamInstanceProfileAssociation
ReplaceIamInstanceProfileAssociationResponse.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.
-
iamInstanceProfileAssociation
default 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 onIamInstanceProfileAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-