Class Operator
- 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Operator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Operator
clone()
boolean
equals(Object obj)
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
).List<String>
getValues()
The value that the actual field value will be compared with.int
hashCode()
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
).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
).void
setValues(Collection<String> values)
The value that the actual field value will be compared with.String
toString()
Returns a string representation of this object; useful for testing and debugging.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
).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
).Operator
withValues(String... values)
The value that the actual field value will be compared with.Operator
withValues(Collection<String> values)
The value that the actual field value will be compared with.
-
-
-
Method Detail
-
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
, andBETWEEN
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
, andBETWEEN
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:
OperatorType
-
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
, andBETWEEN
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
, andBETWEEN
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:
OperatorType
-
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
, andBETWEEN
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
, andBETWEEN
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:
OperatorType
-
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
, andBETWEEN
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
, andBETWEEN
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:
OperatorType
-
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
, andBETWEEN
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
, andBETWEEN
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:
OperatorType
-
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)
orwithValues(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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-