@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DevicePool extends Object implements Serializable, Cloneable, StructuredPojo
Represents a collection of device types.
Constructor and Description |
---|
DevicePool() |
Modifier and Type | Method and Description |
---|---|
DevicePool |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The device pool's ARN.
|
String |
getDescription()
The device pool's description.
|
Integer |
getMaxDevices()
The number of devices that Device Farm can add to your device pool.
|
String |
getName()
The device pool's name.
|
List<Rule> |
getRules()
Information about the device pool's rules.
|
String |
getType()
The device pool's type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The device pool's ARN.
|
void |
setDescription(String description)
The device pool's description.
|
void |
setMaxDevices(Integer maxDevices)
The number of devices that Device Farm can add to your device pool.
|
void |
setName(String name)
The device pool's name.
|
void |
setRules(Collection<Rule> rules)
Information about the device pool's rules.
|
void |
setType(DevicePoolType type)
The device pool's type.
|
void |
setType(String type)
The device pool's type.
|
String |
toString()
Returns a string representation of this object.
|
DevicePool |
withArn(String arn)
The device pool's ARN.
|
DevicePool |
withDescription(String description)
The device pool's description.
|
DevicePool |
withMaxDevices(Integer maxDevices)
The number of devices that Device Farm can add to your device pool.
|
DevicePool |
withName(String name)
The device pool's name.
|
DevicePool |
withRules(Collection<Rule> rules)
Information about the device pool's rules.
|
DevicePool |
withRules(Rule... rules)
Information about the device pool's rules.
|
DevicePool |
withType(DevicePoolType type)
The device pool's type.
|
DevicePool |
withType(String type)
The device pool's type.
|
public void setArn(String arn)
The device pool's ARN.
arn
- The device pool's ARN.public String getArn()
The device pool's ARN.
public DevicePool withArn(String arn)
The device pool's ARN.
arn
- The device pool's ARN.public void setName(String name)
The device pool's name.
name
- The device pool's name.public String getName()
The device pool's name.
public DevicePool withName(String name)
The device pool's name.
name
- The device pool's name.public void setDescription(String description)
The device pool's description.
description
- The device pool's description.public String getDescription()
The device pool's description.
public DevicePool withDescription(String description)
The device pool's description.
description
- The device pool's description.public void setType(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
public String getType()
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.
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
public DevicePool withType(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
public void setType(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
public DevicePool withType(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
public List<Rule> getRules()
Information about the device pool's rules.
public void setRules(Collection<Rule> rules)
Information about the device pool's rules.
rules
- Information about the device pool's rules.public DevicePool withRules(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.public DevicePool withRules(Collection<Rule> rules)
Information about the device pool's rules.
rules
- Information about the device pool's rules.public void setMaxDevices(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.
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.
public Integer getMaxDevices()
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.
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.
public DevicePool withMaxDevices(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.
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.
public String toString()
toString
in class Object
Object.toString()
public DevicePool clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.