java.lang.Object
com.amazonaws.services.datapipeline.model.Selector
All Implemented Interfaces:
Serializable, Cloneable

public class Selector extends Object implements Serializable, Cloneable

A comparision that is used to determine whether a query should return this object.

See Also:
  • Constructor Details

    • Selector

      public Selector()
  • Method Details

    • setFieldName

      public void setFieldName(String fieldName)

      The name of the field that the operator will be applied to. The field name is the "key" portion of the field definition in the pipeline definition syntax that is used by the AWS Data Pipeline API. If the field is not set on the object, the condition fails.

      Parameters:
      fieldName - The name of the field that the operator will be applied to. The field name is the "key" portion of the field definition in the pipeline definition syntax that is used by the AWS Data Pipeline API. If the field is not set on the object, the condition fails.
    • getFieldName

      public String getFieldName()

      The name of the field that the operator will be applied to. The field name is the "key" portion of the field definition in the pipeline definition syntax that is used by the AWS Data Pipeline API. If the field is not set on the object, the condition fails.

      Returns:
      The name of the field that the operator will be applied to. The field name is the "key" portion of the field definition in the pipeline definition syntax that is used by the AWS Data Pipeline API. If the field is not set on the object, the condition fails.
    • withFieldName

      public Selector withFieldName(String fieldName)

      The name of the field that the operator will be applied to. The field name is the "key" portion of the field definition in the pipeline definition syntax that is used by the AWS Data Pipeline API. If the field is not set on the object, the condition fails.

      Parameters:
      fieldName - The name of the field that the operator will be applied to. The field name is the "key" portion of the field definition in the pipeline definition syntax that is used by the AWS Data Pipeline API. If the field is not set on the object, the condition fails.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setOperator

      public void setOperator(Operator operator)
      Parameters:
      operator -
    • getOperator

      public Operator getOperator()
      Returns:
    • withOperator

      public Selector withOperator(Operator operator)
      Parameters:
      operator -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public Selector clone()
      Overrides:
      clone in class Object