public class Selector extends Object implements Serializable
A comparision that is used to determine whether a query should return this object.
Constructor and Description |
---|
Selector() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getFieldName()
The name of the field that the operator will be applied to.
|
Operator |
getOperator()
Contains a logical operation for comparing the value of a field with a
specified value.
|
int |
hashCode() |
void |
setFieldName(String fieldName)
The name of the field that the operator will be applied to.
|
void |
setOperator(Operator operator)
Contains a logical operation for comparing the value of a field with a
specified value.
|
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)
Contains a logical operation for comparing the value of a field with a
specified value.
|
public String getFieldName()
Constraints:
Length: 0 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setFieldName(String fieldName)
Constraints:
Length: 0 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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.public Selector withFieldName(String fieldName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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.public Operator getOperator()
public void setOperator(Operator operator)
operator
- Contains a logical operation for comparing the value of a field with a
specified value.public Selector withOperator(Operator operator)
Returns a reference to this object so that method calls can be chained together.
operator
- Contains a logical operation for comparing the value of a field with a
specified value.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.