@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FilterExpression extends Object implements Serializable, Cloneable, StructuredPojo
Represents a structure for defining parameter conditions. Supported conditions are described here: Supported conditions for dynamic datasets in the Glue DataBrew Developer Guide.
Constructor and Description |
---|
FilterExpression() |
Modifier and Type | Method and Description |
---|---|
FilterExpression |
addValuesMapEntry(String key,
String value)
Add a single ValuesMap entry
|
FilterExpression |
clearValuesMapEntries()
Removes all the entries added into ValuesMap.
|
FilterExpression |
clone() |
boolean |
equals(Object obj) |
String |
getExpression()
The expression which includes condition names followed by substitution variables, possibly grouped and combined
with other conditions.
|
Map<String,String> |
getValuesMap()
The map of substitution variable names to their values used in this filter expression.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExpression(String expression)
The expression which includes condition names followed by substitution variables, possibly grouped and combined
with other conditions.
|
void |
setValuesMap(Map<String,String> valuesMap)
The map of substitution variable names to their values used in this filter expression.
|
String |
toString()
Returns a string representation of this object.
|
FilterExpression |
withExpression(String expression)
The expression which includes condition names followed by substitution variables, possibly grouped and combined
with other conditions.
|
FilterExpression |
withValuesMap(Map<String,String> valuesMap)
The map of substitution variable names to their values used in this filter expression.
|
public void setExpression(String expression)
The expression which includes condition names followed by substitution variables, possibly grouped and combined with other conditions. For example, "(starts_with :prefix1 or starts_with :prefix2) and (ends_with :suffix1 or ends_with :suffix2)". Substitution variables should start with ':' symbol.
expression
- The expression which includes condition names followed by substitution variables, possibly grouped and
combined with other conditions. For example,
"(starts_with :prefix1 or starts_with :prefix2) and (ends_with :suffix1 or ends_with :suffix2)".
Substitution variables should start with ':' symbol.public String getExpression()
The expression which includes condition names followed by substitution variables, possibly grouped and combined with other conditions. For example, "(starts_with :prefix1 or starts_with :prefix2) and (ends_with :suffix1 or ends_with :suffix2)". Substitution variables should start with ':' symbol.
public FilterExpression withExpression(String expression)
The expression which includes condition names followed by substitution variables, possibly grouped and combined with other conditions. For example, "(starts_with :prefix1 or starts_with :prefix2) and (ends_with :suffix1 or ends_with :suffix2)". Substitution variables should start with ':' symbol.
expression
- The expression which includes condition names followed by substitution variables, possibly grouped and
combined with other conditions. For example,
"(starts_with :prefix1 or starts_with :prefix2) and (ends_with :suffix1 or ends_with :suffix2)".
Substitution variables should start with ':' symbol.public Map<String,String> getValuesMap()
The map of substitution variable names to their values used in this filter expression.
public void setValuesMap(Map<String,String> valuesMap)
The map of substitution variable names to their values used in this filter expression.
valuesMap
- The map of substitution variable names to their values used in this filter expression.public FilterExpression withValuesMap(Map<String,String> valuesMap)
The map of substitution variable names to their values used in this filter expression.
valuesMap
- The map of substitution variable names to their values used in this filter expression.public FilterExpression addValuesMapEntry(String key, String value)
public FilterExpression clearValuesMapEntries()
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.