public static interface CreateDevicePoolRequest.Builder extends DeviceFarmRequest.Builder, SdkPojo, CopyableBuilder<CreateDevicePoolRequest.Builder,CreateDevicePoolRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateDevicePoolRequest.Builder |
description(String description)
The device pool's description.
|
CreateDevicePoolRequest.Builder |
maxDevices(Integer maxDevices)
The number of devices that Device Farm can add to your device pool.
|
CreateDevicePoolRequest.Builder |
name(String name)
The device pool's name.
|
CreateDevicePoolRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateDevicePoolRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateDevicePoolRequest.Builder |
projectArn(String projectArn)
The ARN of the project for the device pool.
|
CreateDevicePoolRequest.Builder |
rules(Collection<Rule> rules)
The device pool's rules.
|
CreateDevicePoolRequest.Builder |
rules(Consumer<Rule.Builder>... rules)
The device pool's rules.
|
CreateDevicePoolRequest.Builder |
rules(Rule... rules)
The device pool's rules.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateDevicePoolRequest.Builder projectArn(String projectArn)
The ARN of the project for the device pool.
projectArn - The ARN of the project for the device pool.CreateDevicePoolRequest.Builder name(String name)
The device pool's name.
name - The device pool's name.CreateDevicePoolRequest.Builder description(String description)
The device pool's description.
description - The device pool's description.CreateDevicePoolRequest.Builder rules(Collection<Rule> rules)
The device pool's rules.
rules - The device pool's rules.CreateDevicePoolRequest.Builder rules(Rule... rules)
The device pool's rules.
rules - The device pool's rules.CreateDevicePoolRequest.Builder rules(Consumer<Rule.Builder>... rules)
The device pool's 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) CreateDevicePoolRequest.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 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.
maxDevices - The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are
available and 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.
CreateDevicePoolRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateDevicePoolRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.