@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDevicePoolRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents a request to the update device pool operation.
NOOP| Constructor and Description |
|---|
UpdateDevicePoolRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateDevicePoolRequest |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.
|
Boolean |
getClearMaxDevices()
Sets whether the
maxDevices parameter applies to your device pool. |
String |
getDescription()
A description of the device pool you wish to update.
|
Integer |
getMaxDevices()
The number of devices that Device Farm can add to your device pool.
|
String |
getName()
A string representing the name of the device pool you wish to update.
|
List<Rule> |
getRules()
Represents the rules you wish to modify for the device pool.
|
int |
hashCode() |
Boolean |
isClearMaxDevices()
Sets whether the
maxDevices parameter applies to your device pool. |
void |
setArn(String arn)
The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.
|
void |
setClearMaxDevices(Boolean clearMaxDevices)
Sets whether the
maxDevices parameter applies to your device pool. |
void |
setDescription(String description)
A description of the device pool you wish to update.
|
void |
setMaxDevices(Integer maxDevices)
The number of devices that Device Farm can add to your device pool.
|
void |
setName(String name)
A string representing the name of the device pool you wish to update.
|
void |
setRules(Collection<Rule> rules)
Represents the rules you wish to modify for the device pool.
|
String |
toString()
Returns a string representation of this object.
|
UpdateDevicePoolRequest |
withArn(String arn)
The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.
|
UpdateDevicePoolRequest |
withClearMaxDevices(Boolean clearMaxDevices)
Sets whether the
maxDevices parameter applies to your device pool. |
UpdateDevicePoolRequest |
withDescription(String description)
A description of the device pool you wish to update.
|
UpdateDevicePoolRequest |
withMaxDevices(Integer maxDevices)
The number of devices that Device Farm can add to your device pool.
|
UpdateDevicePoolRequest |
withName(String name)
A string representing the name of the device pool you wish to update.
|
UpdateDevicePoolRequest |
withRules(Collection<Rule> rules)
Represents the rules you wish to modify for the device pool.
|
UpdateDevicePoolRequest |
withRules(Rule... rules)
Represents the rules you wish to modify for the device pool.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setArn(String arn)
The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.
arn - The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.public String getArn()
The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.
public UpdateDevicePoolRequest withArn(String arn)
The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.
arn - The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.public void setName(String name)
A string representing the name of the device pool you wish to update.
name - A string representing the name of the device pool you wish to update.public String getName()
A string representing the name of the device pool you wish to update.
public UpdateDevicePoolRequest withName(String name)
A string representing the name of the device pool you wish to update.
name - A string representing the name of the device pool you wish to update.public void setDescription(String description)
A description of the device pool you wish to update.
description - A description of the device pool you wish to update.public String getDescription()
A description of the device pool you wish to update.
public UpdateDevicePoolRequest withDescription(String description)
A description of the device pool you wish to update.
description - A description of the device pool you wish to update.public List<Rule> getRules()
Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing rules.
public void setRules(Collection<Rule> rules)
Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing rules.
rules - Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you
choose to update rules for your request, the update will replace the existing rules.public UpdateDevicePoolRequest withRules(Rule... rules)
Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing 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 - Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you
choose to update rules for your request, the update will replace the existing rules.public UpdateDevicePoolRequest withRules(Collection<Rule> rules)
Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing rules.
rules - Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you
choose to update rules for your request, the update will replace the existing 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.
If you use this parameter in your request, you cannot use the clearMaxDevices parameter in the same
request.
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.
If you use this parameter in your request, you cannot use the clearMaxDevices parameter in
the same request.
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.
If you use this parameter in your request, you cannot use the clearMaxDevices parameter in the same
request.
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.
If you use this parameter in your request, you cannot use the clearMaxDevices parameter in
the same request.
public UpdateDevicePoolRequest 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.
If you use this parameter in your request, you cannot use the clearMaxDevices parameter in the same
request.
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.
If you use this parameter in your request, you cannot use the clearMaxDevices parameter in
the same request.
public void setClearMaxDevices(Boolean clearMaxDevices)
Sets whether the maxDevices parameter applies to your device pool. If you set this parameter to
true, the maxDevices parameter does not apply, and Device Farm does not limit the
number of devices that it adds to your device pool. In this case, Device Farm adds all available devices that
meet the criteria that are specified for the rules parameter.
If you use this parameter in your request, you cannot use the maxDevices parameter in the same
request.
clearMaxDevices - Sets whether the maxDevices parameter applies to your device pool. If you set this parameter
to true, the maxDevices parameter does not apply, and Device Farm does not limit
the number of devices that it adds to your device pool. In this case, Device Farm adds all available
devices that meet the criteria that are specified for the rules parameter.
If you use this parameter in your request, you cannot use the maxDevices parameter in the
same request.
public Boolean getClearMaxDevices()
Sets whether the maxDevices parameter applies to your device pool. If you set this parameter to
true, the maxDevices parameter does not apply, and Device Farm does not limit the
number of devices that it adds to your device pool. In this case, Device Farm adds all available devices that
meet the criteria that are specified for the rules parameter.
If you use this parameter in your request, you cannot use the maxDevices parameter in the same
request.
maxDevices parameter applies to your device pool. If you set this parameter
to true, the maxDevices parameter does not apply, and Device Farm does not
limit the number of devices that it adds to your device pool. In this case, Device Farm adds all
available devices that meet the criteria that are specified for the rules parameter.
If you use this parameter in your request, you cannot use the maxDevices parameter in the
same request.
public UpdateDevicePoolRequest withClearMaxDevices(Boolean clearMaxDevices)
Sets whether the maxDevices parameter applies to your device pool. If you set this parameter to
true, the maxDevices parameter does not apply, and Device Farm does not limit the
number of devices that it adds to your device pool. In this case, Device Farm adds all available devices that
meet the criteria that are specified for the rules parameter.
If you use this parameter in your request, you cannot use the maxDevices parameter in the same
request.
clearMaxDevices - Sets whether the maxDevices parameter applies to your device pool. If you set this parameter
to true, the maxDevices parameter does not apply, and Device Farm does not limit
the number of devices that it adds to your device pool. In this case, Device Farm adds all available
devices that meet the criteria that are specified for the rules parameter.
If you use this parameter in your request, you cannot use the maxDevices parameter in the
same request.
public Boolean isClearMaxDevices()
Sets whether the maxDevices parameter applies to your device pool. If you set this parameter to
true, the maxDevices parameter does not apply, and Device Farm does not limit the
number of devices that it adds to your device pool. In this case, Device Farm adds all available devices that
meet the criteria that are specified for the rules parameter.
If you use this parameter in your request, you cannot use the maxDevices parameter in the same
request.
maxDevices parameter applies to your device pool. If you set this parameter
to true, the maxDevices parameter does not apply, and Device Farm does not
limit the number of devices that it adds to your device pool. In this case, Device Farm adds all
available devices that meet the criteria that are specified for the rules parameter.
If you use this parameter in your request, you cannot use the maxDevices parameter in the
same request.
public String toString()
toString in class ObjectObject.toString()public UpdateDevicePoolRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.