public static interface DevicePool.Builder extends SdkPojo, CopyableBuilder<DevicePool.Builder,DevicePool>
| Modifier and Type | Method and Description |
|---|---|
DevicePool.Builder |
arn(String arn)
The device pool's ARN.
|
DevicePool.Builder |
description(String description)
The device pool's description.
|
DevicePool.Builder |
maxDevices(Integer maxDevices)
The number of devices that Device Farm can add to your device pool.
|
DevicePool.Builder |
name(String name)
The device pool's name.
|
DevicePool.Builder |
rules(Collection<Rule> rules)
Information about the device pool's rules.
|
DevicePool.Builder |
rules(Consumer<Rule.Builder>... rules)
Information about the device pool's rules.
|
DevicePool.Builder |
rules(Rule... rules)
Information about the device pool's rules.
|
DevicePool.Builder |
type(DevicePoolType type)
The device pool's type.
|
DevicePool.Builder |
type(String type)
The device pool's type.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDevicePool.Builder arn(String arn)
The device pool's ARN.
arn - The device pool's ARN.DevicePool.Builder name(String name)
The device pool's name.
name - The device pool's name.DevicePool.Builder description(String description)
The device pool's description.
description - The device pool's description.DevicePool.Builder type(String type)
The device pool's type.
Allowed values include:
CURATED: A device pool that is created and managed by AWS Device Farm.
PRIVATE: A device pool that is created and managed by the device pool developer.
type - The device pool's type.
Allowed values include:
CURATED: A device pool that is created and managed by AWS Device Farm.
PRIVATE: A device pool that is created and managed by the device pool developer.
DevicePoolType,
DevicePoolTypeDevicePool.Builder type(DevicePoolType type)
The device pool's type.
Allowed values include:
CURATED: A device pool that is created and managed by AWS Device Farm.
PRIVATE: A device pool that is created and managed by the device pool developer.
type - The device pool's type.
Allowed values include:
CURATED: A device pool that is created and managed by AWS Device Farm.
PRIVATE: A device pool that is created and managed by the device pool developer.
DevicePoolType,
DevicePoolTypeDevicePool.Builder rules(Collection<Rule> rules)
Information about the device pool's rules.
rules - Information about the device pool's rules.DevicePool.Builder rules(Rule... rules)
Information about the device pool's rules.
rules - Information about the device pool's rules.DevicePool.Builder rules(Consumer<Rule.Builder>... rules)
Information about 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) DevicePool.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.
Copyright © 2023. All rights reserved.