Class DevicePoolRule


  • public final class DevicePoolRule
    extends java.lang.Object
    • Method Detail

      • attribute

        public java.util.Optional<java.lang.String> attribute()
        Returns:
        The rule's stringified attribute. Valid values are: `APPIUM_VERSION`, `ARN`, `AVAILABILITY`, `FLEET_TYPE`, `FORM_FACTOR`, `INSTANCE_ARN`, `INSTANCE_LABELS`, `MANUFACTURER`, `MODEL`, `OS_VERSION`, `PLATFORM`, `REMOTE_ACCESS_ENABLED`, `REMOTE_DEBUG_ENABLED`.
      • operator

        public java.util.Optional<java.lang.String> operator()
        Returns:
        Specifies how Device Farm compares the rule's attribute to the value. For the operators that are supported by each attribute. Valid values are: `EQUALS`, `NOT_IN`, `IN`, `GREATER_THAN`, `GREATER_THAN_OR_EQUALS`, `LESS_THAN`, `LESS_THAN_OR_EQUALS`, `CONTAINS`.
      • value

        public java.util.Optional<java.lang.String> value()
        Returns:
        The rule's value.