@Generated(value="software.amazon.awssdk:codegen") public final class UpdateDevicePoolRequest extends DeviceFarmRequest implements ToCopyableBuilder<UpdateDevicePoolRequest.Builder,UpdateDevicePoolRequest>
Represents a request to the update device pool operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateDevicePoolRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the Device Farm device pool to update.
|
static UpdateDevicePoolRequest.Builder |
builder() |
Boolean |
clearMaxDevices()
Sets whether the
maxDevices parameter applies to your device pool. |
String |
description()
A description of the device pool to update.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasRules()
Returns true if the Rules property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
Integer |
maxDevices()
The number of devices that Device Farm can add to your device pool.
|
String |
name()
A string that represents the name of the device pool to update.
|
List<Rule> |
rules()
Represents the rules to modify for the device pool.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateDevicePoolRequest.Builder> |
serializableBuilderClass() |
UpdateDevicePoolRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) of the Device Farm device pool to update.
public final String name()
A string that represents the name of the device pool to update.
public final String description()
A description of the device pool to update.
public final boolean hasRules()
public final List<Rule> rules()
Represents the rules to modify for the device pool. Updating rules is optional. If you update rules for your request, the update replaces the existing rules.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRules() to see if a value was sent in this field.
public final 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.
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 final 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 specified in 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 specified in the rules parameter.
If you use this parameter in your request, you cannot use the maxDevices parameter in the
same request.
public UpdateDevicePoolRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateDevicePoolRequest.Builder,UpdateDevicePoolRequest>toBuilder in class DeviceFarmRequestpublic static UpdateDevicePoolRequest.Builder builder()
public static Class<? extends UpdateDevicePoolRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.