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

public class Operator extends Object implements Serializable, Cloneable

Contains a logical operation for comparing the value of a field with a specified value.

See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
    The logical operation to be performed: equal (EQ), equal reference (REF_EQ), less than or equal (LE), greater than or equal (GE), or between (BETWEEN ).
    The value that the actual field value will be compared with.
    int
     
    void
    The logical operation to be performed: equal (EQ), equal reference (REF_EQ), less than or equal (LE), greater than or equal (GE), or between (BETWEEN ).
    void
    The logical operation to be performed: equal (EQ), equal reference (REF_EQ), less than or equal (LE), greater than or equal (GE), or between (BETWEEN ).
    void
    The value that the actual field value will be compared with.
    Returns a string representation of this object; useful for testing and debugging.
    The logical operation to be performed: equal (EQ), equal reference (REF_EQ), less than or equal (LE), greater than or equal (GE), or between (BETWEEN ).
    The logical operation to be performed: equal (EQ), equal reference (REF_EQ), less than or equal (LE), greater than or equal (GE), or between (BETWEEN ).
    withValues(String... values)
    The value that the actual field value will be compared with.
    The value that the actual field value will be compared with.

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Operator

      public Operator()
  • Method Details

    • setType

      public void setType(String type)

      The logical operation to be performed: equal (EQ), equal reference (REF_EQ), less than or equal (LE), greater than or equal (GE), or between (BETWEEN ). Equal reference (REF_EQ) can be used only with reference fields. The other comparison types can be used only with String fields. The comparison types you can use apply only to certain object fields, as detailed below.

      The comparison operators EQ and REF_EQ act on the following fields:

      • name
      • @sphere
      • parent
      • @componentParent
      • @instanceParent
      • @status
      • @scheduledStartTime
      • @scheduledEndTime
      • @actualStartTime
      • @actualEndTime

      The comparison operators GE, LE, and BETWEEN act on the following fields:

      • @scheduledStartTime
      • @scheduledEndTime
      • @actualStartTime
      • @actualEndTime

      Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".

      Parameters:
      type - The logical operation to be performed: equal (EQ), equal reference (REF_EQ), less than or equal ( LE), greater than or equal (GE), or between (BETWEEN). Equal reference ( REF_EQ) can be used only with reference fields. The other comparison types can be used only with String fields. The comparison types you can use apply only to certain object fields, as detailed below.

      The comparison operators EQ and REF_EQ act on the following fields:

      • name
      • @sphere
      • parent
      • @componentParent
      • @instanceParent
      • @status
      • @scheduledStartTime
      • @scheduledEndTime
      • @actualStartTime
      • @actualEndTime

      The comparison operators GE, LE, and BETWEEN act on the following fields:

      • @scheduledStartTime
      • @scheduledEndTime
      • @actualStartTime
      • @actualEndTime

      Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".

      See Also:
    • getType

      public String getType()

      The logical operation to be performed: equal (EQ), equal reference (REF_EQ), less than or equal (LE), greater than or equal (GE), or between (BETWEEN ). Equal reference (REF_EQ) can be used only with reference fields. The other comparison types can be used only with String fields. The comparison types you can use apply only to certain object fields, as detailed below.

      The comparison operators EQ and REF_EQ act on the following fields:

      • name
      • @sphere
      • parent
      • @componentParent
      • @instanceParent
      • @status
      • @scheduledStartTime
      • @scheduledEndTime
      • @actualStartTime
      • @actualEndTime

      The comparison operators GE, LE, and BETWEEN act on the following fields:

      • @scheduledStartTime
      • @scheduledEndTime
      • @actualStartTime
      • @actualEndTime

      Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".

      Returns:
      The logical operation to be performed: equal (EQ), equal reference (REF_EQ), less than or equal ( LE), greater than or equal (GE), or between (BETWEEN). Equal reference ( REF_EQ) can be used only with reference fields. The other comparison types can be used only with String fields. The comparison types you can use apply only to certain object fields, as detailed below.

      The comparison operators EQ and REF_EQ act on the following fields:

      • name
      • @sphere
      • parent
      • @componentParent
      • @instanceParent
      • @status
      • @scheduledStartTime
      • @scheduledEndTime
      • @actualStartTime
      • @actualEndTime

      The comparison operators GE, LE, and BETWEEN act on the following fields:

      • @scheduledStartTime
      • @scheduledEndTime
      • @actualStartTime
      • @actualEndTime

      Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".

      See Also:
    • withType

      public Operator withType(String type)

      The logical operation to be performed: equal (EQ), equal reference (REF_EQ), less than or equal (LE), greater than or equal (GE), or between (BETWEEN ). Equal reference (REF_EQ) can be used only with reference fields. The other comparison types can be used only with String fields. The comparison types you can use apply only to certain object fields, as detailed below.

      The comparison operators EQ and REF_EQ act on the following fields:

      • name
      • @sphere
      • parent
      • @componentParent
      • @instanceParent
      • @status
      • @scheduledStartTime
      • @scheduledEndTime
      • @actualStartTime
      • @actualEndTime

      The comparison operators GE, LE, and BETWEEN act on the following fields:

      • @scheduledStartTime
      • @scheduledEndTime
      • @actualStartTime
      • @actualEndTime

      Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".

      Parameters:
      type - The logical operation to be performed: equal (EQ), equal reference (REF_EQ), less than or equal ( LE), greater than or equal (GE), or between (BETWEEN). Equal reference ( REF_EQ) can be used only with reference fields. The other comparison types can be used only with String fields. The comparison types you can use apply only to certain object fields, as detailed below.

      The comparison operators EQ and REF_EQ act on the following fields:

      • name
      • @sphere
      • parent
      • @componentParent
      • @instanceParent
      • @status
      • @scheduledStartTime
      • @scheduledEndTime
      • @actualStartTime
      • @actualEndTime

      The comparison operators GE, LE, and BETWEEN act on the following fields:

      • @scheduledStartTime
      • @scheduledEndTime
      • @actualStartTime
      • @actualEndTime

      Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setType

      public void setType(OperatorType type)

      The logical operation to be performed: equal (EQ), equal reference (REF_EQ), less than or equal (LE), greater than or equal (GE), or between (BETWEEN ). Equal reference (REF_EQ) can be used only with reference fields. The other comparison types can be used only with String fields. The comparison types you can use apply only to certain object fields, as detailed below.

      The comparison operators EQ and REF_EQ act on the following fields:

      • name
      • @sphere
      • parent
      • @componentParent
      • @instanceParent
      • @status
      • @scheduledStartTime
      • @scheduledEndTime
      • @actualStartTime
      • @actualEndTime

      The comparison operators GE, LE, and BETWEEN act on the following fields:

      • @scheduledStartTime
      • @scheduledEndTime
      • @actualStartTime
      • @actualEndTime

      Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".

      Parameters:
      type - The logical operation to be performed: equal (EQ), equal reference (REF_EQ), less than or equal ( LE), greater than or equal (GE), or between (BETWEEN). Equal reference ( REF_EQ) can be used only with reference fields. The other comparison types can be used only with String fields. The comparison types you can use apply only to certain object fields, as detailed below.

      The comparison operators EQ and REF_EQ act on the following fields:

      • name
      • @sphere
      • parent
      • @componentParent
      • @instanceParent
      • @status
      • @scheduledStartTime
      • @scheduledEndTime
      • @actualStartTime
      • @actualEndTime

      The comparison operators GE, LE, and BETWEEN act on the following fields:

      • @scheduledStartTime
      • @scheduledEndTime
      • @actualStartTime
      • @actualEndTime

      Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".

      See Also:
    • withType

      public Operator withType(OperatorType type)

      The logical operation to be performed: equal (EQ), equal reference (REF_EQ), less than or equal (LE), greater than or equal (GE), or between (BETWEEN ). Equal reference (REF_EQ) can be used only with reference fields. The other comparison types can be used only with String fields. The comparison types you can use apply only to certain object fields, as detailed below.

      The comparison operators EQ and REF_EQ act on the following fields:

      • name
      • @sphere
      • parent
      • @componentParent
      • @instanceParent
      • @status
      • @scheduledStartTime
      • @scheduledEndTime
      • @actualStartTime
      • @actualEndTime

      The comparison operators GE, LE, and BETWEEN act on the following fields:

      • @scheduledStartTime
      • @scheduledEndTime
      • @actualStartTime
      • @actualEndTime

      Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".

      Parameters:
      type - The logical operation to be performed: equal (EQ), equal reference (REF_EQ), less than or equal ( LE), greater than or equal (GE), or between (BETWEEN). Equal reference ( REF_EQ) can be used only with reference fields. The other comparison types can be used only with String fields. The comparison types you can use apply only to certain object fields, as detailed below.

      The comparison operators EQ and REF_EQ act on the following fields:

      • name
      • @sphere
      • parent
      • @componentParent
      • @instanceParent
      • @status
      • @scheduledStartTime
      • @scheduledEndTime
      • @actualStartTime
      • @actualEndTime

      The comparison operators GE, LE, and BETWEEN act on the following fields:

      • @scheduledStartTime
      • @scheduledEndTime
      • @actualStartTime
      • @actualEndTime

      Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • getValues

      public List<String> getValues()

      The value that the actual field value will be compared with.

      Returns:
      The value that the actual field value will be compared with.
    • setValues

      public void setValues(Collection<String> values)

      The value that the actual field value will be compared with.

      Parameters:
      values - The value that the actual field value will be compared with.
    • withValues

      public Operator withValues(String... values)

      The value that the actual field value will be compared with.

      NOTE: This method appends the values to the existing list (if any). Use setValues(java.util.Collection) or withValues(java.util.Collection) if you want to override the existing values.

      Parameters:
      values - The value that the actual field value will be compared with.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withValues

      public Operator withValues(Collection<String> values)

      The value that the actual field value will be compared with.

      Parameters:
      values - The value that the actual field value will be compared with.
      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 Operator clone()
      Overrides:
      clone in class Object