public static interface UpdateDevicePoolRequest.Builder extends DeviceFarmRequest.Builder, SdkPojo, CopyableBuilder<UpdateDevicePoolRequest.Builder,UpdateDevicePoolRequest>
Modifier and Type | Method and Description |
---|---|
UpdateDevicePoolRequest.Builder |
arn(String arn)
The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.
|
UpdateDevicePoolRequest.Builder |
description(String description)
A description of the device pool you wish to update.
|
UpdateDevicePoolRequest.Builder |
name(String name)
A string representing the name of the device pool you wish to update.
|
UpdateDevicePoolRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateDevicePoolRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateDevicePoolRequest.Builder |
rules(Collection<Rule> rules)
Represents the rules you wish to modify for the device pool.
|
UpdateDevicePoolRequest.Builder |
rules(Consumer<Rule.Builder>... rules)
Represents the rules you wish to modify for the device pool.
|
UpdateDevicePoolRequest.Builder |
rules(Rule... rules)
Represents the rules you wish to modify for the device pool.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateDevicePoolRequest.Builder arn(String arn)
The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.
arn
- The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.UpdateDevicePoolRequest.Builder name(String name)
A string representing the name of the device pool you wish to update.
name
- A string representing the name of the device pool you wish to update.UpdateDevicePoolRequest.Builder description(String description)
A description of the device pool you wish to update.
description
- A description of the device pool you wish to update.UpdateDevicePoolRequest.Builder rules(Collection<Rule> rules)
Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing rules.
rules
- Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if
you choose to update rules for your request, the update will replace the existing rules.UpdateDevicePoolRequest.Builder rules(Rule... rules)
Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing rules.
rules
- Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if
you choose to update rules for your request, the update will replace the existing rules.UpdateDevicePoolRequest.Builder rules(Consumer<Rule.Builder>... rules)
Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing rules.
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 #rules(List)
.rules
- a consumer that will call methods on List.Builder
#rules(List)
UpdateDevicePoolRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateDevicePoolRequest.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.