@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Filter extends Object implements Serializable, Cloneable, StructuredPojo
Describes a filter for choosing a subset of dimension values. Each filter consists of the dimension that you want to
include and the condition statement. The condition statement is specified in the FilterOperation
object.
Constructor and Description |
---|
Filter() |
Modifier and Type | Method and Description |
---|---|
Filter |
clone() |
boolean |
equals(Object obj) |
String |
getDimensionValue()
The value that you want to include in the filter.
|
String |
getFilterOperation()
The condition to apply.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDimensionValue(String dimensionValue)
The value that you want to include in the filter.
|
void |
setFilterOperation(String filterOperation)
The condition to apply.
|
String |
toString()
Returns a string representation of this object.
|
Filter |
withDimensionValue(String dimensionValue)
The value that you want to include in the filter.
|
Filter |
withFilterOperation(FilterOperation filterOperation)
The condition to apply.
|
Filter |
withFilterOperation(String filterOperation)
The condition to apply.
|
public void setDimensionValue(String dimensionValue)
The value that you want to include in the filter.
dimensionValue
- The value that you want to include in the filter.public String getDimensionValue()
The value that you want to include in the filter.
public Filter withDimensionValue(String dimensionValue)
The value that you want to include in the filter.
dimensionValue
- The value that you want to include in the filter.public void setFilterOperation(String filterOperation)
The condition to apply.
filterOperation
- The condition to apply.FilterOperation
public String getFilterOperation()
The condition to apply.
FilterOperation
public Filter withFilterOperation(String filterOperation)
The condition to apply.
filterOperation
- The condition to apply.FilterOperation
public Filter withFilterOperation(FilterOperation filterOperation)
The condition to apply.
filterOperation
- The condition to apply.FilterOperation
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.