Interface CreateWorkspacesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateWorkspacesResponse.Builder,,CreateWorkspacesResponse> SdkBuilder<CreateWorkspacesResponse.Builder,,CreateWorkspacesResponse> SdkPojo,SdkResponse.Builder,WorkSpacesResponse.Builder
- Enclosing class:
CreateWorkspacesResponse
-
Method Summary
Modifier and TypeMethodDescriptionfailedRequests(Collection<FailedCreateWorkspaceRequest> failedRequests) Information about the WorkSpaces that could not be created.failedRequests(Consumer<FailedCreateWorkspaceRequest.Builder>... failedRequests) Information about the WorkSpaces that could not be created.failedRequests(FailedCreateWorkspaceRequest... failedRequests) Information about the WorkSpaces that could not be created.pendingRequests(Collection<Workspace> pendingRequests) Information about the WorkSpaces that were created.pendingRequests(Consumer<Workspace.Builder>... pendingRequests) Information about the WorkSpaces that were created.pendingRequests(Workspace... pendingRequests) Information about the WorkSpaces that were created.Methods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workspaces.model.WorkSpacesResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
failedRequests
CreateWorkspacesResponse.Builder failedRequests(Collection<FailedCreateWorkspaceRequest> failedRequests) Information about the WorkSpaces that could not be created.
- Parameters:
failedRequests- Information about the WorkSpaces that could not be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedRequests
Information about the WorkSpaces that could not be created.
- Parameters:
failedRequests- Information about the WorkSpaces that could not be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedRequests
CreateWorkspacesResponse.Builder failedRequests(Consumer<FailedCreateWorkspaceRequest.Builder>... failedRequests) Information about the WorkSpaces that could not be created.
This is a convenience method that creates an instance of theFailedCreateWorkspaceRequest.Builderavoiding the need to create one manually viaFailedCreateWorkspaceRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailedRequests(List<FailedCreateWorkspaceRequest>).- Parameters:
failedRequests- a consumer that will call methods onFailedCreateWorkspaceRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pendingRequests
Information about the WorkSpaces that were created.
Because this operation is asynchronous, the identifier returned is not immediately available for use with other operations. For example, if you call DescribeWorkspaces before the WorkSpace is created, the information returned can be incomplete.
- Parameters:
pendingRequests- Information about the WorkSpaces that were created.Because this operation is asynchronous, the identifier returned is not immediately available for use with other operations. For example, if you call DescribeWorkspaces before the WorkSpace is created, the information returned can be incomplete.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingRequests
Information about the WorkSpaces that were created.
Because this operation is asynchronous, the identifier returned is not immediately available for use with other operations. For example, if you call DescribeWorkspaces before the WorkSpace is created, the information returned can be incomplete.
- Parameters:
pendingRequests- Information about the WorkSpaces that were created.Because this operation is asynchronous, the identifier returned is not immediately available for use with other operations. For example, if you call DescribeWorkspaces before the WorkSpace is created, the information returned can be incomplete.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingRequests
Information about the WorkSpaces that were created.
Because this operation is asynchronous, the identifier returned is not immediately available for use with other operations. For example, if you call DescribeWorkspaces before the WorkSpace is created, the information returned can be incomplete.
This is a convenience method that creates an instance of theWorkspace.Builderavoiding the need to create one manually viaWorkspace.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topendingRequests(List<Workspace>).- Parameters:
pendingRequests- a consumer that will call methods onWorkspace.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-