CopyableBuilder<DevicePool.Builder,DevicePool>
, SdkBuilder<DevicePool.Builder,DevicePool>
public static interface DevicePool.Builder extends CopyableBuilder<DevicePool.Builder,DevicePool>
Modifier and Type | Method | 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(Rule... rules) |
Information about the device pool's rules.
|
DevicePool.Builder |
type(String type) |
The device pool's type.
|
DevicePool.Builder |
type(DevicePoolType type) |
The device pool's type.
|
copy
apply, build
DevicePool.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
DevicePool.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
DevicePool.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.
NOTE: This method appends the values to the existing list (if any). Use
#setRules(java.util.Collection)
or #withRules(java.util.Collection)
if you want to override
the existing values.
rules
- Information about the device pool's rules.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.