public static interface Rule.Builder extends SdkPojo, CopyableBuilder<Rule.Builder,Rule>
Modifier and Type | Method and Description |
---|---|
Rule.Builder |
attribute(DeviceAttribute attribute)
The rule's attribute.
|
Rule.Builder |
attribute(String attribute)
The rule's 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 attribute. It is the aspect of a device such as platform or model used as selection criteria to create or update a device pool.
Allowed values include:
ARN: The Amazon Resource Name (ARN) of a device. For example, "arn:aws:devicefarm:us-west-2::device:12345Example".
PLATFORM: The device platform. Valid values are "ANDROID" or "IOS".
FORM_FACTOR: The device form factor. Valid values are "PHONE" or "TABLET".
MANUFACTURER: The device manufacturer. For example, "Apple".
REMOTE_ACCESS_ENABLED: Whether the device is enabled for remote access.
REMOTE_DEBUG_ENABLED: Whether the device is enabled for remote debugging.
APPIUM_VERSION: The Appium version for the test.
INSTANCE_ARN: The Amazon Resource Name (ARN) of the device instance.
INSTANCE_LABELS: The label of the device instance.
FLEET_TYPE: The fleet type. Valid values are "PUBLIC" or "PRIVATE".
attribute
- The rule's attribute. It is the aspect of a device such as platform or model used as selection
criteria to create or update a device pool.
Allowed values include:
ARN: The Amazon Resource Name (ARN) of a device. For example, "arn:aws:devicefarm:us-west-2::device:12345Example".
PLATFORM: The device platform. Valid values are "ANDROID" or "IOS".
FORM_FACTOR: The device form factor. Valid values are "PHONE" or "TABLET".
MANUFACTURER: The device manufacturer. For example, "Apple".
REMOTE_ACCESS_ENABLED: Whether the device is enabled for remote access.
REMOTE_DEBUG_ENABLED: Whether the device is enabled for remote debugging.
APPIUM_VERSION: The Appium version for the test.
INSTANCE_ARN: The Amazon Resource Name (ARN) of the device instance.
INSTANCE_LABELS: The label of the device instance.
FLEET_TYPE: The fleet type. Valid values are "PUBLIC" or "PRIVATE".
DeviceAttribute
,
DeviceAttribute
Rule.Builder attribute(DeviceAttribute attribute)
The rule's attribute. It is the aspect of a device such as platform or model used as selection criteria to create or update a device pool.
Allowed values include:
ARN: The Amazon Resource Name (ARN) of a device. For example, "arn:aws:devicefarm:us-west-2::device:12345Example".
PLATFORM: The device platform. Valid values are "ANDROID" or "IOS".
FORM_FACTOR: The device form factor. Valid values are "PHONE" or "TABLET".
MANUFACTURER: The device manufacturer. For example, "Apple".
REMOTE_ACCESS_ENABLED: Whether the device is enabled for remote access.
REMOTE_DEBUG_ENABLED: Whether the device is enabled for remote debugging.
APPIUM_VERSION: The Appium version for the test.
INSTANCE_ARN: The Amazon Resource Name (ARN) of the device instance.
INSTANCE_LABELS: The label of the device instance.
FLEET_TYPE: The fleet type. Valid values are "PUBLIC" or "PRIVATE".
attribute
- The rule's attribute. It is the aspect of a device such as platform or model used as selection
criteria to create or update a device pool.
Allowed values include:
ARN: The Amazon Resource Name (ARN) of a device. For example, "arn:aws:devicefarm:us-west-2::device:12345Example".
PLATFORM: The device platform. Valid values are "ANDROID" or "IOS".
FORM_FACTOR: The device form factor. Valid values are "PHONE" or "TABLET".
MANUFACTURER: The device manufacturer. For example, "Apple".
REMOTE_ACCESS_ENABLED: Whether the device is enabled for remote access.
REMOTE_DEBUG_ENABLED: Whether the device is enabled for remote debugging.
APPIUM_VERSION: The Appium version for the test.
INSTANCE_ARN: The Amazon Resource Name (ARN) of the device instance.
INSTANCE_LABELS: The label of the device instance.
FLEET_TYPE: The fleet type. Valid values are "PUBLIC" or "PRIVATE".
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.
The value must be passed in as a string using escaped quotes.
For example:
"value": "\"ANDROID\""
value
- The rule's value.
The value must be passed in as a string using escaped quotes.
For example:
"value": "\"ANDROID\""
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.