StructuredPojo, ToCopyableBuilder<Rule.Builder,Rule>@Generated("software.amazon.awssdk:codegen") public class Rule extends Object implements StructuredPojo, ToCopyableBuilder<Rule.Builder,Rule>
Represents a condition for a device pool.
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
Rule.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
String |
attribute() |
The rule's stringified attribute.
|
static Rule.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller. |
String |
operator() |
The rule's operator.
|
static Class<? extends Rule.Builder> |
serializableBuilderClass() |
|
Rule.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Rule.Builder,Rule>public static Rule.Builder builder()
public static Class<? extends Rule.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.