Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.datapipeline.model
Class Selector

java.lang.Object
  extended by com.amazonaws.services.datapipeline.model.Selector
All Implemented Interfaces:
Serializable

public class Selector
extends Object
implements Serializable

A comparision that is used to determine whether a query should return this object.

See Also:
Serialized Form

Constructor Summary
Selector()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Selector

public Selector()
Method Detail

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.

Constraints:
Length: 0 - 1024
Pattern: [ -??-??-?\r\n\t]*

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.

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.

Constraints:
Length: 0 - 1024
Pattern: [ -??-??-?\r\n\t]*

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.

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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 1024
Pattern: [ -??-??-?\r\n\t]*

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.

getOperator

public Operator getOperator()
Contains a logical operation for comparing the value of a field with a specified value.

Returns:
Contains a logical operation for comparing the value of a field with a specified value.

setOperator

public void setOperator(Operator operator)
Contains a logical operation for comparing the value of a field with a specified value.

Parameters:
operator - Contains a logical operation for comparing the value of a field with a specified value.

withOperator

public Selector withOperator(Operator operator)
Contains a logical operation for comparing the value of a field with a specified value.

Returns a reference to this object so that method calls can be chained together.

Parameters:
operator - Contains a logical operation for comparing the value of a field with a specified value.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.