Interface StopWorkspacesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<StopWorkspacesResponse.Builder,
,StopWorkspacesResponse> SdkBuilder<StopWorkspacesResponse.Builder,
,StopWorkspacesResponse> SdkPojo
,SdkResponse.Builder
,WorkSpacesResponse.Builder
- Enclosing class:
StopWorkspacesResponse
public static interface StopWorkspacesResponse.Builder
extends WorkSpacesResponse.Builder, SdkPojo, CopyableBuilder<StopWorkspacesResponse.Builder,StopWorkspacesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfailedRequests
(Collection<FailedWorkspaceChangeRequest> failedRequests) Information about the WorkSpaces that could not be stopped.failedRequests
(Consumer<FailedWorkspaceChangeRequest.Builder>... failedRequests) Information about the WorkSpaces that could not be stopped.failedRequests
(FailedWorkspaceChangeRequest... failedRequests) Information about the WorkSpaces that could not be stopped.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
StopWorkspacesResponse.Builder failedRequests(Collection<FailedWorkspaceChangeRequest> failedRequests) Information about the WorkSpaces that could not be stopped.
- Parameters:
failedRequests
- Information about the WorkSpaces that could not be stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedRequests
Information about the WorkSpaces that could not be stopped.
- Parameters:
failedRequests
- Information about the WorkSpaces that could not be stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedRequests
StopWorkspacesResponse.Builder failedRequests(Consumer<FailedWorkspaceChangeRequest.Builder>... failedRequests) Information about the WorkSpaces that could not be stopped.
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:
-