@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FilterExpression extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a filter expression.
Constructor and Description |
---|
FilterExpression() |
Modifier and Type | Method and Description |
---|---|
FilterExpression |
clone() |
boolean |
equals(Object obj) |
Boolean |
getNegated()
Whether the expression is to be negated.
|
String |
getOperation()
The type of operation to perform in the expression.
|
List<FilterValue> |
getValues()
A list of filter values.
|
int |
hashCode() |
Boolean |
isNegated()
Whether the expression is to be negated.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setNegated(Boolean negated)
Whether the expression is to be negated.
|
void |
setOperation(String operation)
The type of operation to perform in the expression.
|
void |
setValues(Collection<FilterValue> values)
A list of filter values.
|
String |
toString()
Returns a string representation of this object.
|
FilterExpression |
withNegated(Boolean negated)
Whether the expression is to be negated.
|
FilterExpression |
withOperation(FilterOperation operation)
The type of operation to perform in the expression.
|
FilterExpression |
withOperation(String operation)
The type of operation to perform in the expression.
|
FilterExpression |
withValues(Collection<FilterValue> values)
A list of filter values.
|
FilterExpression |
withValues(FilterValue... values)
A list of filter values.
|
public void setOperation(String operation)
The type of operation to perform in the expression.
operation
- The type of operation to perform in the expression.FilterOperation
public String getOperation()
The type of operation to perform in the expression.
FilterOperation
public FilterExpression withOperation(String operation)
The type of operation to perform in the expression.
operation
- The type of operation to perform in the expression.FilterOperation
public FilterExpression withOperation(FilterOperation operation)
The type of operation to perform in the expression.
operation
- The type of operation to perform in the expression.FilterOperation
public void setNegated(Boolean negated)
Whether the expression is to be negated.
negated
- Whether the expression is to be negated.public Boolean getNegated()
Whether the expression is to be negated.
public FilterExpression withNegated(Boolean negated)
Whether the expression is to be negated.
negated
- Whether the expression is to be negated.public Boolean isNegated()
Whether the expression is to be negated.
public List<FilterValue> getValues()
A list of filter values.
public void setValues(Collection<FilterValue> values)
A list of filter values.
values
- A list of filter values.public FilterExpression withValues(FilterValue... values)
A list of filter values.
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
- A list of filter values.public FilterExpression withValues(Collection<FilterValue> values)
A list of filter values.
values
- A list of filter values.public String toString()
toString
in class Object
Object.toString()
public FilterExpression clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.