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 Selector
clone()
boolean
equals(Object obj)
String
getFieldName()
The name of the field that the operator will be applied to.Operator
getOperator()
int
hashCode()
void
setFieldName(String fieldName)
The name of the field that the operator will be applied to.void
setOperator(Operator operator)
String
toString()
Returns a string representation of this object; useful for testing and debugging.Selector
withFieldName(String fieldName)
The name of the field that the operator will be applied to.Selector
withOperator(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-