Interface DisassociateWorkspaceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<DisassociateWorkspaceResponse.Builder,,DisassociateWorkspaceResponse> SdkBuilder<DisassociateWorkspaceResponse.Builder,,DisassociateWorkspaceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DisassociateWorkspaceResponse
-
Method Summary
Modifier and TypeMethodDescriptionfailedList(Collection<FailedBatchAssociationSummary> failedList) A list of resources that failed to be disassociated from the workspace, including error details.failedList(Consumer<FailedBatchAssociationSummary.Builder>... failedList) A list of resources that failed to be disassociated from the workspace, including error details.failedList(FailedBatchAssociationSummary... failedList) A list of resources that failed to be disassociated from the workspace, including error details.successfulList(Collection<SuccessfulBatchAssociationSummary> successfulList) A list of resources that were successfully disassociated from the workspace.successfulList(Consumer<SuccessfulBatchAssociationSummary.Builder>... successfulList) A list of resources that were successfully disassociated from the workspace.successfulList(SuccessfulBatchAssociationSummary... successfulList) A list of resources that were successfully disassociated from the workspace.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
successfulList
DisassociateWorkspaceResponse.Builder successfulList(Collection<SuccessfulBatchAssociationSummary> successfulList) A list of resources that were successfully disassociated from the workspace.
- Parameters:
successfulList- A list of resources that were successfully disassociated from the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successfulList
DisassociateWorkspaceResponse.Builder successfulList(SuccessfulBatchAssociationSummary... successfulList) A list of resources that were successfully disassociated from the workspace.
- Parameters:
successfulList- A list of resources that were successfully disassociated from the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successfulList
DisassociateWorkspaceResponse.Builder successfulList(Consumer<SuccessfulBatchAssociationSummary.Builder>... successfulList) A list of resources that were successfully disassociated from the workspace.
This is a convenience method that creates an instance of theSuccessfulBatchAssociationSummary.Builderavoiding the need to create one manually viaSuccessfulBatchAssociationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessfulList(List<SuccessfulBatchAssociationSummary>).- Parameters:
successfulList- a consumer that will call methods onSuccessfulBatchAssociationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failedList
DisassociateWorkspaceResponse.Builder failedList(Collection<FailedBatchAssociationSummary> failedList) A list of resources that failed to be disassociated from the workspace, including error details.
- Parameters:
failedList- A list of resources that failed to be disassociated from the workspace, including error details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedList
A list of resources that failed to be disassociated from the workspace, including error details.
- Parameters:
failedList- A list of resources that failed to be disassociated from the workspace, including error details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedList
DisassociateWorkspaceResponse.Builder failedList(Consumer<FailedBatchAssociationSummary.Builder>... failedList) A list of resources that failed to be disassociated from the workspace, including error details.
This is a convenience method that creates an instance of theFailedBatchAssociationSummary.Builderavoiding the need to create one manually viaFailedBatchAssociationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailedList(List<FailedBatchAssociationSummary>).- Parameters:
failedList- a consumer that will call methods onFailedBatchAssociationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-