@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDevicePoolRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents a request to the create device pool operation.
NOOP
Constructor and Description |
---|
CreateDevicePoolRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDevicePoolRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
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.
|
String |
getProjectArn()
The ARN of the project for the device pool.
|
List<Rule> |
getRules()
The device pool's rules.
|
int |
hashCode() |
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 |
setProjectArn(String projectArn)
The ARN of the project for the device pool.
|
void |
setRules(Collection<Rule> rules)
The device pool's rules.
|
String |
toString()
Returns a string representation of this object.
|
CreateDevicePoolRequest |
withDescription(String description)
The device pool's description.
|
CreateDevicePoolRequest |
withMaxDevices(Integer maxDevices)
The number of devices that Device Farm can add to your device pool.
|
CreateDevicePoolRequest |
withName(String name)
The device pool's name.
|
CreateDevicePoolRequest |
withProjectArn(String projectArn)
The ARN of the project for the device pool.
|
CreateDevicePoolRequest |
withRules(Collection<Rule> rules)
The device pool's rules.
|
CreateDevicePoolRequest |
withRules(Rule... rules)
The device pool's rules.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setProjectArn(String projectArn)
The ARN of the project for the device pool.
projectArn
- The ARN of the project for the device pool.public String getProjectArn()
The ARN of the project for the device pool.
public CreateDevicePoolRequest withProjectArn(String projectArn)
The ARN of the project for the device pool.
projectArn
- The ARN of the project for the device pool.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 CreateDevicePoolRequest 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 CreateDevicePoolRequest withDescription(String description)
The device pool's description.
description
- The device pool's description.public void setRules(Collection<Rule> rules)
The device pool's rules.
rules
- The device pool's rules.public CreateDevicePoolRequest withRules(Rule... rules)
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
- The device pool's rules.public CreateDevicePoolRequest withRules(Collection<Rule> rules)
The device pool's rules.
rules
- 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 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.
public Integer getMaxDevices()
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.
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 CreateDevicePoolRequest withMaxDevices(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.
public String toString()
toString
in class Object
Object.toString()
public CreateDevicePoolRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()