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 Resource Name (ARN) of the Device Farm device pool 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 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 that represents the name of the device pool to update.
|
UpdateDevicePoolRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateDevicePoolRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdateDevicePoolRequest.Builder |
rules(Collection<Rule> rules)
Represents the rules to modify for the device pool.
|
UpdateDevicePoolRequest.Builder |
rules(Consumer<Rule.Builder>... rules)
Represents the rules to modify for the device pool.
|
UpdateDevicePoolRequest.Builder |
rules(Rule... rules)
Represents the rules to modify for the device pool.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateDevicePoolRequest.Builder arn(String arn)
The Amazon Resource Name (ARN) of the Device Farm device pool to update.
arn - The Amazon Resource Name (ARN) of the Device Farm device pool to update.UpdateDevicePoolRequest.Builder name(String name)
A string that represents the name of the device pool to update.
name - A string that represents the name of the device pool to update.UpdateDevicePoolRequest.Builder description(String description)
A description of the device pool to update.
description - A description of the device pool to update.UpdateDevicePoolRequest.Builder rules(Collection<Rule> rules)
Represents the rules to modify for the device pool. Updating rules is optional. If you update rules for your request, the update replaces the existing rules.
rules - Represents the rules to modify for the device pool. Updating rules is optional. If you update rules
for your request, the update replaces the existing rules.UpdateDevicePoolRequest.Builder rules(Rule... rules)
Represents the rules to modify for the device pool. Updating rules is optional. If you update rules for your request, the update replaces the existing rules.
rules - Represents the rules to modify for the device pool. Updating rules is optional. If you update rules
for your request, the update replaces the existing rules.UpdateDevicePoolRequest.Builder rules(Consumer<Rule.Builder>... rules)
Represents the rules to modify for the device pool. Updating rules is optional. If you update rules for your request, the update replaces the existing rules.
This is a convenience method that creates an instance of theRule.Builder avoiding the need to create one
manually via Rule.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #rules(List.
rules - a consumer that will call methods on
Rule.Builder#rules(java.util.Collection) 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 specified in 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 specified in 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 © 2022. All rights reserved.