Interface DisassociateApplicationStatusCheckResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DisassociateApplicationStatusCheckResponse.Builder,,DisassociateApplicationStatusCheckResponse> Ec2Response.Builder,SdkBuilder<DisassociateApplicationStatusCheckResponse.Builder,,DisassociateApplicationStatusCheckResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DisassociateApplicationStatusCheckResponse
@Mutable
@NotThreadSafe
public static interface DisassociateApplicationStatusCheckResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DisassociateApplicationStatusCheckResponse.Builder,DisassociateApplicationStatusCheckResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsuccessfulResults(Collection<SuccessfulAssociationResponseObject> successfulResults) The associations that were successfully removed.successfulResults(Consumer<SuccessfulAssociationResponseObject.Builder>... successfulResults) The associations that were successfully removed.successfulResults(SuccessfulAssociationResponseObject... successfulResults) The associations that were successfully removed.unsuccessfulResults(Collection<UnsuccessfulAssociationResponseObject> unsuccessfulResults) The associations that failed to be removed.unsuccessfulResults(Consumer<UnsuccessfulAssociationResponseObject.Builder>... unsuccessfulResults) The associations that failed to be removed.unsuccessfulResults(UnsuccessfulAssociationResponseObject... unsuccessfulResults) The associations that failed to be removed.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
-
successfulResults
DisassociateApplicationStatusCheckResponse.Builder successfulResults(Collection<SuccessfulAssociationResponseObject> successfulResults) The associations that were successfully removed.
- Parameters:
successfulResults- The associations that were successfully removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successfulResults
DisassociateApplicationStatusCheckResponse.Builder successfulResults(SuccessfulAssociationResponseObject... successfulResults) The associations that were successfully removed.
- Parameters:
successfulResults- The associations that were successfully removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successfulResults
DisassociateApplicationStatusCheckResponse.Builder successfulResults(Consumer<SuccessfulAssociationResponseObject.Builder>... successfulResults) The associations that were successfully removed.
This is a convenience method that creates an instance of theSuccessfulAssociationResponseObject.Builderavoiding the need to create one manually viaSuccessfulAssociationResponseObject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessfulResults(List<SuccessfulAssociationResponseObject>).- Parameters:
successfulResults- a consumer that will call methods onSuccessfulAssociationResponseObject.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
unsuccessfulResults
DisassociateApplicationStatusCheckResponse.Builder unsuccessfulResults(Collection<UnsuccessfulAssociationResponseObject> unsuccessfulResults) The associations that failed to be removed.
- Parameters:
unsuccessfulResults- The associations that failed to be removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unsuccessfulResults
DisassociateApplicationStatusCheckResponse.Builder unsuccessfulResults(UnsuccessfulAssociationResponseObject... unsuccessfulResults) The associations that failed to be removed.
- Parameters:
unsuccessfulResults- The associations that failed to be removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unsuccessfulResults
DisassociateApplicationStatusCheckResponse.Builder unsuccessfulResults(Consumer<UnsuccessfulAssociationResponseObject.Builder>... unsuccessfulResults) The associations that failed to be removed.
This is a convenience method that creates an instance of theUnsuccessfulAssociationResponseObject.Builderavoiding the need to create one manually viaUnsuccessfulAssociationResponseObject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tounsuccessfulResults(List<UnsuccessfulAssociationResponseObject>).- Parameters:
unsuccessfulResults- a consumer that will call methods onUnsuccessfulAssociationResponseObject.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-