public static interface CreateWorkspacesResponse.Builder extends WorkSpacesResponse.Builder, CopyableBuilder<CreateWorkspacesResponse.Builder,CreateWorkspacesResponse>
Modifier and Type | Method and Description |
---|---|
CreateWorkspacesResponse.Builder |
failedRequests(Collection<FailedCreateWorkspaceRequest> failedRequests)
An array of structures that represent the WorkSpaces that could not be created.
|
CreateWorkspacesResponse.Builder |
failedRequests(Consumer<FailedCreateWorkspaceRequest.Builder>... failedRequests)
An array of structures that represent the WorkSpaces that could not be created.
|
CreateWorkspacesResponse.Builder |
failedRequests(FailedCreateWorkspaceRequest... failedRequests)
An array of structures that represent the WorkSpaces that could not be created.
|
CreateWorkspacesResponse.Builder |
pendingRequests(Collection<Workspace> pendingRequests)
An array of structures that represent the WorkSpaces that were created.
|
CreateWorkspacesResponse.Builder |
pendingRequests(Consumer<Workspace.Builder>... pendingRequests)
An array of structures that represent the WorkSpaces that were created.
|
CreateWorkspacesResponse.Builder |
pendingRequests(Workspace... pendingRequests)
An array of structures that represent the WorkSpaces that were created.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreateWorkspacesResponse.Builder failedRequests(Collection<FailedCreateWorkspaceRequest> failedRequests)
An array of structures that represent the WorkSpaces that could not be created.
failedRequests
- An array of structures that represent the WorkSpaces that could not be created.CreateWorkspacesResponse.Builder failedRequests(FailedCreateWorkspaceRequest... failedRequests)
An array of structures that represent the WorkSpaces that could not be created.
failedRequests
- An array of structures that represent the WorkSpaces that could not be created.CreateWorkspacesResponse.Builder failedRequests(Consumer<FailedCreateWorkspaceRequest.Builder>... failedRequests)
An array of structures that represent the WorkSpaces that could not be created.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #failedRequests(List)
.failedRequests
- a consumer that will call methods on List.Builder
#failedRequests(List)
CreateWorkspacesResponse.Builder pendingRequests(Collection<Workspace> pendingRequests)
An array of structures that represent the WorkSpaces that were created.
Because this operation is asynchronous, the identifier in WorkspaceId
is not immediately
available. If you immediately call DescribeWorkspaces with this identifier, no information will be
returned.
pendingRequests
- An array of structures that represent the WorkSpaces that were created.
Because this operation is asynchronous, the identifier in WorkspaceId
is not immediately
available. If you immediately call DescribeWorkspaces with this identifier, no information will
be returned.
CreateWorkspacesResponse.Builder pendingRequests(Workspace... pendingRequests)
An array of structures that represent the WorkSpaces that were created.
Because this operation is asynchronous, the identifier in WorkspaceId
is not immediately
available. If you immediately call DescribeWorkspaces with this identifier, no information will be
returned.
pendingRequests
- An array of structures that represent the WorkSpaces that were created.
Because this operation is asynchronous, the identifier in WorkspaceId
is not immediately
available. If you immediately call DescribeWorkspaces with this identifier, no information will
be returned.
CreateWorkspacesResponse.Builder pendingRequests(Consumer<Workspace.Builder>... pendingRequests)
An array of structures that represent the WorkSpaces that were created.
Because this operation is asynchronous, the identifier in WorkspaceId
is not immediately
available. If you immediately call DescribeWorkspaces with this identifier, no information will be
returned.
List.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #pendingRequests(List)
.pendingRequests
- a consumer that will call methods on List.Builder
#pendingRequests(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.