public static interface Rule.Builder extends CopyableBuilder<Rule.Builder,Rule>
Modifier and Type | Method and Description |
---|---|
Rule.Builder |
attribute(DeviceAttribute attribute)
The rule's stringified attribute.
|
Rule.Builder |
attribute(String attribute)
The rule's stringified attribute.
|
Rule.Builder |
operator(RuleOperator operator)
The rule's operator.
|
Rule.Builder |
operator(String operator)
The rule's operator.
|
Rule.Builder |
value(String value)
The rule's value.
|
copy
applyMutation, build
Rule.Builder attribute(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.
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.
DeviceAttribute
,
DeviceAttribute
Rule.Builder attribute(DeviceAttribute 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.
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.
DeviceAttribute
,
DeviceAttribute
Rule.Builder operator(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.
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.
RuleOperator
,
RuleOperator
Rule.Builder operator(RuleOperator 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.
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.
RuleOperator
,
RuleOperator
Rule.Builder value(String value)
The rule's value.
value
- The rule's value.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.