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