Interface DisassociateIamInstanceProfileResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DisassociateIamInstanceProfileResponse.Builder,DisassociateIamInstanceProfileResponse>
,Ec2Response.Builder
,SdkBuilder<DisassociateIamInstanceProfileResponse.Builder,DisassociateIamInstanceProfileResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DisassociateIamInstanceProfileResponse
public static interface DisassociateIamInstanceProfileResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DisassociateIamInstanceProfileResponse.Builder,DisassociateIamInstanceProfileResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DisassociateIamInstanceProfileResponse.Builder
iamInstanceProfileAssociation(Consumer<IamInstanceProfileAssociation.Builder> iamInstanceProfileAssociation)
Information about the IAM instance profile association.DisassociateIamInstanceProfileResponse.Builder
iamInstanceProfileAssociation(IamInstanceProfileAssociation iamInstanceProfileAssociation)
Information about the IAM instance profile association.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
iamInstanceProfileAssociation
DisassociateIamInstanceProfileResponse.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 DisassociateIamInstanceProfileResponse.Builder iamInstanceProfileAssociation(Consumer<IamInstanceProfileAssociation.Builder> iamInstanceProfileAssociation)
Information about the IAM instance profile association.
This is a convenience method that creates an instance of theIamInstanceProfileAssociation.Builder
avoiding the need to create one manually viaIamInstanceProfileAssociation.builder()
.When the
Consumer
completes,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:
iamInstanceProfileAssociation(IamInstanceProfileAssociation)
-
-