Class Selector
- 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Selector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Selectorclone()booleanequals(Object obj)StringgetFieldName()The name of the field that the operator will be applied to.OperatorgetOperator()inthashCode()voidsetFieldName(String fieldName)The name of the field that the operator will be applied to.voidsetOperator(Operator operator)StringtoString()Returns a string representation of this object; useful for testing and debugging.SelectorwithFieldName(String fieldName)The name of the field that the operator will be applied to.SelectorwithOperator(Operator operator)
-
-
-
Method Detail
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-