Class DevicePool
- All Implemented Interfaces:
Serializable
,Cloneable
Represents a collection of device types.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getArn()
The device pool's ARN.The device pool's description.getName()
The device pool's name.getRules()
Information about the device pool's rules.getType()
The device pool's type.int
hashCode()
void
The device pool's ARN.void
setDescription
(String description) The device pool's description.void
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
The device pool's type.toString()
Returns a string representation of this object; useful for testing and debugging.The device pool's ARN.withDescription
(String description) The device pool's description.The device pool's name.Information about the device pool's rules.withRules
(Collection<Rule> rules) Information about the device pool's rules.withType
(DevicePoolType type) The device pool's type.The device pool's type.
-
Constructor Details
-
DevicePool
public DevicePool()
-
-
Method Details
-
setArn
The device pool's ARN.
- Parameters:
arn
- The device pool's ARN.
-
getArn
The device pool's ARN.
- Returns:
- The device pool's ARN.
-
withArn
The device pool's ARN.
- Parameters:
arn
- The device pool's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
The device pool's name.
- Parameters:
name
- The device pool's name.
-
getName
The device pool's name.
- Returns:
- The device pool's name.
-
withName
The device pool's name.
- Parameters:
name
- The device pool's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
The device pool's description.
- Parameters:
description
- The device pool's description.
-
getDescription
The device pool's description.
- Returns:
- The device pool's description.
-
withDescription
The device pool's description.
- Parameters:
description
- The device pool's description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setType
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.
- Parameters:
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.
-
- See Also:
-
-
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.
- Returns:
- 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.
-
- See Also:
-
-
withType
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
setType
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.
- Parameters:
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.
-
- See Also:
-
-
withType
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
getRules
Information about the device pool's rules.
- Returns:
- Information about the device pool's rules.
-
setRules
Information about the device pool's rules.
- Parameters:
rules
- Information about the device pool's rules.
-
withRules
Information about the device pool's rules.
NOTE: This method appends the values to the existing list (if any). Use
setRules(java.util.Collection)
orwithRules(java.util.Collection)
if you want to override the existing values.- Parameters:
rules
- Information about the device pool's rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRules
Information about the device pool's rules.
- Parameters:
rules
- Information about the device pool's rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-