public static interface DevicePool.Builder extends 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 |
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.
|
copyapply, 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 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) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.