AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
Represents a condition for a device pool.

Inheritance Hierarchy

System.Object
  Amazon.DeviceFarm.Model.Rule

Namespace: Amazon.DeviceFarm.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class Rule : Object

The Rule type exposes the following members

Constructors

NameDescription
Public Method Rule()

Properties

NameTypeDescription
Public Property Attribute Amazon.DeviceFarm.DeviceAttribute Gets and sets the property Attribute.

The rule's attribute.

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).

Public Property Operator Amazon.DeviceFarm.RuleOperator Gets and sets the property 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.

Public Property Value System.String Gets and sets the property Value.

The rule's value.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5