public static interface CreateWorkspacesRequest.Builder extends WorkSpacesRequest.Builder, CopyableBuilder<CreateWorkspacesRequest.Builder,CreateWorkspacesRequest>
Modifier and Type | Method and Description |
---|---|
CreateWorkspacesRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateWorkspacesRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.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
requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.CreateWorkspacesRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.