Interface CreateStandbyWorkspacesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateStandbyWorkspacesResponse.Builder,
,CreateStandbyWorkspacesResponse> SdkBuilder<CreateStandbyWorkspacesResponse.Builder,
,CreateStandbyWorkspacesResponse> SdkPojo
,SdkResponse.Builder
,WorkSpacesResponse.Builder
- Enclosing class:
CreateStandbyWorkspacesResponse
public static interface CreateStandbyWorkspacesResponse.Builder
extends WorkSpacesResponse.Builder, SdkPojo, CopyableBuilder<CreateStandbyWorkspacesResponse.Builder,CreateStandbyWorkspacesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfailedStandbyRequests
(Collection<FailedCreateStandbyWorkspacesRequest> failedStandbyRequests) Information about the standby WorkSpace that could not be created.failedStandbyRequests
(Consumer<FailedCreateStandbyWorkspacesRequest.Builder>... failedStandbyRequests) Information about the standby WorkSpace that could not be created.failedStandbyRequests
(FailedCreateStandbyWorkspacesRequest... failedStandbyRequests) Information about the standby WorkSpace that could not be created.pendingStandbyRequests
(Collection<PendingCreateStandbyWorkspacesRequest> pendingStandbyRequests) Information about the standby WorkSpace that was created.pendingStandbyRequests
(Consumer<PendingCreateStandbyWorkspacesRequest.Builder>... pendingStandbyRequests) Information about the standby WorkSpace that was created.pendingStandbyRequests
(PendingCreateStandbyWorkspacesRequest... pendingStandbyRequests) Information about the standby WorkSpace that was created.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
-
failedStandbyRequests
CreateStandbyWorkspacesResponse.Builder failedStandbyRequests(Collection<FailedCreateStandbyWorkspacesRequest> failedStandbyRequests) Information about the standby WorkSpace that could not be created.
- Parameters:
failedStandbyRequests
- Information about the standby WorkSpace that could not be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedStandbyRequests
CreateStandbyWorkspacesResponse.Builder failedStandbyRequests(FailedCreateStandbyWorkspacesRequest... failedStandbyRequests) Information about the standby WorkSpace that could not be created.
- Parameters:
failedStandbyRequests
- Information about the standby WorkSpace that could not be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedStandbyRequests
CreateStandbyWorkspacesResponse.Builder failedStandbyRequests(Consumer<FailedCreateStandbyWorkspacesRequest.Builder>... failedStandbyRequests) Information about the standby WorkSpace that could not be created.
This is a convenience method that creates an instance of theFailedCreateStandbyWorkspacesRequest.Builder
avoiding the need to create one manually viaFailedCreateStandbyWorkspacesRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailedStandbyRequests(List<FailedCreateStandbyWorkspacesRequest>)
.- Parameters:
failedStandbyRequests
- a consumer that will call methods onFailedCreateStandbyWorkspacesRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pendingStandbyRequests
CreateStandbyWorkspacesResponse.Builder pendingStandbyRequests(Collection<PendingCreateStandbyWorkspacesRequest> pendingStandbyRequests) Information about the standby WorkSpace that was created.
- Parameters:
pendingStandbyRequests
- Information about the standby WorkSpace that was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingStandbyRequests
CreateStandbyWorkspacesResponse.Builder pendingStandbyRequests(PendingCreateStandbyWorkspacesRequest... pendingStandbyRequests) Information about the standby WorkSpace that was created.
- Parameters:
pendingStandbyRequests
- Information about the standby WorkSpace that was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingStandbyRequests
CreateStandbyWorkspacesResponse.Builder pendingStandbyRequests(Consumer<PendingCreateStandbyWorkspacesRequest.Builder>... pendingStandbyRequests) Information about the standby WorkSpace that was created.
This is a convenience method that creates an instance of thePendingCreateStandbyWorkspacesRequest.Builder
avoiding the need to create one manually viaPendingCreateStandbyWorkspacesRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topendingStandbyRequests(List<PendingCreateStandbyWorkspacesRequest>)
.- Parameters:
pendingStandbyRequests
- a consumer that will call methods onPendingCreateStandbyWorkspacesRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-