public static interface CreateWorkspacesRequest.Builder extends WorkSpacesRequest.Builder, CopyableBuilder<CreateWorkspacesRequest.Builder,CreateWorkspacesRequest>
Modifier and Type | Method and Description |
---|---|
CreateWorkspacesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateWorkspacesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateWorkspacesRequest.Builder |
workspaces(Collection<WorkspaceRequest> workspaces)
An array of structures that specify the WorkSpaces to create.
|
CreateWorkspacesRequest.Builder |
workspaces(Consumer<WorkspaceRequest.Builder>... workspaces)
An array of structures that specify the WorkSpaces to create.
|
CreateWorkspacesRequest.Builder |
workspaces(WorkspaceRequest... workspaces)
An array of structures that specify the WorkSpaces to create.
|
build
overrideConfiguration
copy
applyMutation, build
CreateWorkspacesRequest.Builder workspaces(Collection<WorkspaceRequest> workspaces)
An array of structures that specify the WorkSpaces to create.
workspaces
- An array of structures that specify the WorkSpaces to create.CreateWorkspacesRequest.Builder workspaces(WorkspaceRequest... workspaces)
An array of structures that specify the WorkSpaces to create.
workspaces
- An array of structures that specify the WorkSpaces to create.CreateWorkspacesRequest.Builder workspaces(Consumer<WorkspaceRequest.Builder>... workspaces)
An array of structures that specify the WorkSpaces to create.
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 #workspaces(List)
.workspaces
- a consumer that will call methods on List.Builder
#workspaces(List)
CreateWorkspacesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateWorkspacesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.