@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Selector extends Object implements Serializable, Cloneable, StructuredPojo
A comparision that is used to determine whether a query should return this object.
Constructor and Description |
---|
Selector() |
Modifier and Type | Method and 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
Selector |
withFieldName(String fieldName)
The name of the field that the operator will be applied to.
|
Selector |
withOperator(Operator operator) |
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.
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 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.
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.
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 void setOperator(Operator operator)
operator
- public Operator getOperator()
public Selector withOperator(Operator operator)
operator
- public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.