@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Operator extends Object implements Serializable, Cloneable, StructuredPojo
Contains a logical operation for comparing the value of a field with a specified value.
Constructor and Description |
---|
Operator() |
Modifier and Type | Method and Description |
---|---|
Operator |
clone() |
boolean |
equals(Object obj) |
String |
getType()
The logical operation to be performed: equal (
EQ ), equal reference (REF_EQ ), less than
or equal (LE ), greater than or equal (GE ), or between (BETWEEN ). |
List<String> |
getValues()
The value that the actual field value will be compared with.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setType(OperatorType type)
The logical operation to be performed: equal (
EQ ), equal reference (REF_EQ ), less than
or equal (LE ), greater than or equal (GE ), or between (BETWEEN ). |
void |
setType(String type)
The logical operation to be performed: equal (
EQ ), equal reference (REF_EQ ), less than
or equal (LE ), greater than or equal (GE ), or between (BETWEEN ). |
void |
setValues(Collection<String> values)
The value that the actual field value will be compared with.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Operator |
withType(OperatorType type)
The logical operation to be performed: equal (
EQ ), equal reference (REF_EQ ), less than
or equal (LE ), greater than or equal (GE ), or between (BETWEEN ). |
Operator |
withType(String type)
The logical operation to be performed: equal (
EQ ), equal reference (REF_EQ ), less than
or equal (LE ), greater than or equal (GE ), or between (BETWEEN ). |
Operator |
withValues(Collection<String> values)
The value that the actual field value will be compared with.
|
Operator |
withValues(String... values)
The value that the actual field value will be compared with.
|
public void setType(String type)
The logical operation to be performed: equal (EQ
), equal reference (REF_EQ
), less than
or equal (LE
), greater than or equal (GE
), or between (BETWEEN
). Equal
reference (REF_EQ
) can be used only with reference fields. The other comparison types can be used
only with String fields. The comparison types you can use apply only to certain object fields, as detailed below.
The comparison operators EQ and REF_EQ act on the following fields:
The comparison operators GE
, LE
, and BETWEEN
act on the following fields:
Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".
type
- The logical operation to be performed: equal (EQ
), equal reference (REF_EQ
),
less than or equal (LE
), greater than or equal (GE
), or between (
BETWEEN
). Equal reference (REF_EQ
) can be used only with reference fields. The
other comparison types can be used only with String fields. The comparison types you can use apply only to
certain object fields, as detailed below.
The comparison operators EQ and REF_EQ act on the following fields:
The comparison operators GE
, LE
, and BETWEEN
act on the following
fields:
Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".
OperatorType
public String getType()
The logical operation to be performed: equal (EQ
), equal reference (REF_EQ
), less than
or equal (LE
), greater than or equal (GE
), or between (BETWEEN
). Equal
reference (REF_EQ
) can be used only with reference fields. The other comparison types can be used
only with String fields. The comparison types you can use apply only to certain object fields, as detailed below.
The comparison operators EQ and REF_EQ act on the following fields:
The comparison operators GE
, LE
, and BETWEEN
act on the following fields:
Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".
EQ
), equal reference (REF_EQ
),
less than or equal (LE
), greater than or equal (GE
), or between (
BETWEEN
). Equal reference (REF_EQ
) can be used only with reference fields. The
other comparison types can be used only with String fields. The comparison types you can use apply only
to certain object fields, as detailed below.
The comparison operators EQ and REF_EQ act on the following fields:
The comparison operators GE
, LE
, and BETWEEN
act on the following
fields:
Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".
OperatorType
public Operator withType(String type)
The logical operation to be performed: equal (EQ
), equal reference (REF_EQ
), less than
or equal (LE
), greater than or equal (GE
), or between (BETWEEN
). Equal
reference (REF_EQ
) can be used only with reference fields. The other comparison types can be used
only with String fields. The comparison types you can use apply only to certain object fields, as detailed below.
The comparison operators EQ and REF_EQ act on the following fields:
The comparison operators GE
, LE
, and BETWEEN
act on the following fields:
Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".
type
- The logical operation to be performed: equal (EQ
), equal reference (REF_EQ
),
less than or equal (LE
), greater than or equal (GE
), or between (
BETWEEN
). Equal reference (REF_EQ
) can be used only with reference fields. The
other comparison types can be used only with String fields. The comparison types you can use apply only to
certain object fields, as detailed below.
The comparison operators EQ and REF_EQ act on the following fields:
The comparison operators GE
, LE
, and BETWEEN
act on the following
fields:
Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".
OperatorType
public void setType(OperatorType type)
The logical operation to be performed: equal (EQ
), equal reference (REF_EQ
), less than
or equal (LE
), greater than or equal (GE
), or between (BETWEEN
). Equal
reference (REF_EQ
) can be used only with reference fields. The other comparison types can be used
only with String fields. The comparison types you can use apply only to certain object fields, as detailed below.
The comparison operators EQ and REF_EQ act on the following fields:
The comparison operators GE
, LE
, and BETWEEN
act on the following fields:
Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".
type
- The logical operation to be performed: equal (EQ
), equal reference (REF_EQ
),
less than or equal (LE
), greater than or equal (GE
), or between (
BETWEEN
). Equal reference (REF_EQ
) can be used only with reference fields. The
other comparison types can be used only with String fields. The comparison types you can use apply only to
certain object fields, as detailed below.
The comparison operators EQ and REF_EQ act on the following fields:
The comparison operators GE
, LE
, and BETWEEN
act on the following
fields:
Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".
OperatorType
public Operator withType(OperatorType type)
The logical operation to be performed: equal (EQ
), equal reference (REF_EQ
), less than
or equal (LE
), greater than or equal (GE
), or between (BETWEEN
). Equal
reference (REF_EQ
) can be used only with reference fields. The other comparison types can be used
only with String fields. The comparison types you can use apply only to certain object fields, as detailed below.
The comparison operators EQ and REF_EQ act on the following fields:
The comparison operators GE
, LE
, and BETWEEN
act on the following fields:
Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".
type
- The logical operation to be performed: equal (EQ
), equal reference (REF_EQ
),
less than or equal (LE
), greater than or equal (GE
), or between (
BETWEEN
). Equal reference (REF_EQ
) can be used only with reference fields. The
other comparison types can be used only with String fields. The comparison types you can use apply only to
certain object fields, as detailed below.
The comparison operators EQ and REF_EQ act on the following fields:
The comparison operators GE
, LE
, and BETWEEN
act on the following
fields:
Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".
OperatorType
public List<String> getValues()
The value that the actual field value will be compared with.
public void setValues(Collection<String> values)
The value that the actual field value will be compared with.
values
- The value that the actual field value will be compared with.public Operator withValues(String... values)
The value that the actual field value will be compared with.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- The value that the actual field value will be compared with.public Operator withValues(Collection<String> values)
The value that the actual field value will be compared with.
values
- The value that the actual field value will be compared with.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.