@Generated(value="software.amazon.awssdk:codegen") public class Rule extends Object implements StructuredPojo, software.amazon.awssdk.utils.builder.ToCopyableBuilder<Rule.Builder,Rule>
Represents a condition for a device pool.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Rule.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
attribute()
The rule's stringified attribute.
|
static Rule.Builder |
builder() |
boolean |
equals(Object obj) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
String |
operator()
The rule's operator.
|
static Class<? extends Rule.Builder> |
serializableBuilderClass() |
Rule.Builder |
toBuilder() |
String |
toString() |
String |
value()
The rule's value.
|
public String attribute()
The rule's stringified attribute. For example, specify the value as "\"abc\"".
Allowed values include:
ARN: The ARN.
FORM_FACTOR: The form factor (for example, phone or tablet).
MANUFACTURER: The manufacturer.
PLATFORM: The platform (for example, Android or iOS).
REMOTE_ACCESS_ENABLED: Whether the device is enabled for remote access.
APPIUM_VERSION: The Appium version for the test.
"\"abc\"".
Allowed values include:
ARN: The ARN.
FORM_FACTOR: The form factor (for example, phone or tablet).
MANUFACTURER: The manufacturer.
PLATFORM: The platform (for example, Android or iOS).
REMOTE_ACCESS_ENABLED: Whether the device is enabled for remote access.
APPIUM_VERSION: The Appium version for the test.
DeviceAttributepublic String operator()
The rule's operator.
EQUALS: The equals operator.
GREATER_THAN: The greater-than operator.
IN: The in operator.
LESS_THAN: The less-than operator.
NOT_IN: The not-in operator.
CONTAINS: The contains operator.
EQUALS: The equals operator.
GREATER_THAN: The greater-than operator.
IN: The in operator.
LESS_THAN: The less-than operator.
NOT_IN: The not-in operator.
CONTAINS: The contains operator.
RuleOperatorpublic String value()
The rule's value.
public Rule.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<Rule.Builder,Rule>public static Rule.Builder builder()
public static Class<? extends Rule.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.