public static interface TerminateWorkspacesRequest.Builder extends WorkSpacesRequest.Builder, CopyableBuilder<TerminateWorkspacesRequest.Builder,TerminateWorkspacesRequest>
Modifier and Type | Method and Description |
---|---|
TerminateWorkspacesRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
TerminateWorkspacesRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
TerminateWorkspacesRequest.Builder |
terminateWorkspaceRequests(Collection<TerminateRequest> terminateWorkspaceRequests)
An array of structures that specify the WorkSpaces to terminate.
|
TerminateWorkspacesRequest.Builder |
terminateWorkspaceRequests(Consumer<TerminateRequest.Builder>... terminateWorkspaceRequests)
An array of structures that specify the WorkSpaces to terminate.
|
TerminateWorkspacesRequest.Builder |
terminateWorkspaceRequests(TerminateRequest... terminateWorkspaceRequests)
An array of structures that specify the WorkSpaces to terminate.
|
build
requestOverrideConfig
copy
apply, build
TerminateWorkspacesRequest.Builder terminateWorkspaceRequests(Collection<TerminateRequest> terminateWorkspaceRequests)
An array of structures that specify the WorkSpaces to terminate.
terminateWorkspaceRequests
- An array of structures that specify the WorkSpaces to terminate.TerminateWorkspacesRequest.Builder terminateWorkspaceRequests(TerminateRequest... terminateWorkspaceRequests)
An array of structures that specify the WorkSpaces to terminate.
terminateWorkspaceRequests
- An array of structures that specify the WorkSpaces to terminate.TerminateWorkspacesRequest.Builder terminateWorkspaceRequests(Consumer<TerminateRequest.Builder>... terminateWorkspaceRequests)
An array of structures that specify the WorkSpaces to terminate.
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 #terminateWorkspaceRequests(List)
.terminateWorkspaceRequests
- a consumer that will call methods on List.Builder
#terminateWorkspaceRequests(List)
TerminateWorkspacesRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.TerminateWorkspacesRequest.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.