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