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 |
clearMaxDevices(Boolean clearMaxDevices)
Sets whether the
maxDevices parameter applies to your device pool. |
UpdateDevicePoolRequest.Builder |
description(String description)
A description of the device pool you wish to update.
|
UpdateDevicePoolRequest.Builder |
maxDevices(Integer maxDevices)
The number of devices that Device Farm can add to your device pool.
|
UpdateDevicePoolRequest.Builder |
name(String name)
A string representing the name of the device pool you wish to update.
|
UpdateDevicePoolRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateDevicePoolRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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.
|
buildoverrideConfigurationcopyapplyMutation, buildUpdateDevicePoolRequest.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 maxDevices(Integer maxDevices)
The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are
available and that meet the criteria that you assign for the rules parameter. Depending on how
many devices meet these constraints, your device pool might contain fewer devices than the value for this
parameter.
By specifying the maximum number of devices, you can control the costs that you incur by running tests.
If you use this parameter in your request, you cannot use the clearMaxDevices parameter in the
same request.
maxDevices - The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are
available and that meet the criteria that you assign for the rules parameter. Depending
on how many devices meet these constraints, your device pool might contain fewer devices than the
value for this parameter.
By specifying the maximum number of devices, you can control the costs that you incur by running tests.
If you use this parameter in your request, you cannot use the clearMaxDevices parameter
in the same request.
UpdateDevicePoolRequest.Builder clearMaxDevices(Boolean clearMaxDevices)
Sets whether the maxDevices parameter applies to your device pool. If you set this parameter to
true, the maxDevices parameter does not apply, and Device Farm does not limit the
number of devices that it adds to your device pool. In this case, Device Farm adds all available devices that
meet the criteria that are specified for the rules parameter.
If you use this parameter in your request, you cannot use the maxDevices parameter in the same
request.
clearMaxDevices - Sets whether the maxDevices parameter applies to your device pool. If you set this
parameter to true, the maxDevices parameter does not apply, and Device Farm
does not limit the number of devices that it adds to your device pool. In this case, Device Farm adds
all available devices that meet the criteria that are specified for the rules
parameter.
If you use this parameter in your request, you cannot use the maxDevices parameter in the
same request.
UpdateDevicePoolRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateDevicePoolRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2019. All rights reserved.