Interface TerminateWorkspacesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<TerminateWorkspacesResponse.Builder,
,TerminateWorkspacesResponse> SdkBuilder<TerminateWorkspacesResponse.Builder,
,TerminateWorkspacesResponse> SdkPojo
,SdkResponse.Builder
,WorkSpacesResponse.Builder
- Enclosing class:
TerminateWorkspacesResponse
public static interface TerminateWorkspacesResponse.Builder
extends WorkSpacesResponse.Builder, SdkPojo, CopyableBuilder<TerminateWorkspacesResponse.Builder,TerminateWorkspacesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfailedRequests
(Collection<FailedWorkspaceChangeRequest> failedRequests) Information about the WorkSpaces that could not be terminated.failedRequests
(Consumer<FailedWorkspaceChangeRequest.Builder>... failedRequests) Information about the WorkSpaces that could not be terminated.failedRequests
(FailedWorkspaceChangeRequest... failedRequests) Information about the WorkSpaces that could not be terminated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
Methods inherited from interface software.amazon.awssdk.services.workspaces.model.WorkSpacesResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
failedRequests
TerminateWorkspacesResponse.Builder failedRequests(Collection<FailedWorkspaceChangeRequest> failedRequests) Information about the WorkSpaces that could not be terminated.
- Parameters:
failedRequests
- Information about the WorkSpaces that could not be terminated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedRequests
Information about the WorkSpaces that could not be terminated.
- Parameters:
failedRequests
- Information about the WorkSpaces that could not be terminated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedRequests
TerminateWorkspacesResponse.Builder failedRequests(Consumer<FailedWorkspaceChangeRequest.Builder>... failedRequests) Information about the WorkSpaces that could not be terminated.
This is a convenience method that creates an instance of theFailedWorkspaceChangeRequest.Builder
avoiding the need to create one manually viaFailedWorkspaceChangeRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailedRequests(List<FailedWorkspaceChangeRequest>)
.- Parameters:
failedRequests
- a consumer that will call methods onFailedWorkspaceChangeRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-