@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DimensionFilter extends Object implements Serializable, Cloneable, StructuredPojo
The dimension filter, containing DimensionName and DimensionValueList.
Constructor and Description |
---|
DimensionFilter() |
Modifier and Type | Method and Description |
---|---|
DimensionFilter |
clone() |
boolean |
equals(Object obj) |
String |
getDimensionName()
The name of the dimension to filter on.
|
List<String> |
getDimensionValueList()
The list of values for the dimension specified in DimensionName that you want to filter on.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDimensionName(String dimensionName)
The name of the dimension to filter on.
|
void |
setDimensionValueList(Collection<String> dimensionValueList)
The list of values for the dimension specified in DimensionName that you want to filter on.
|
String |
toString()
Returns a string representation of this object.
|
DimensionFilter |
withDimensionName(String dimensionName)
The name of the dimension to filter on.
|
DimensionFilter |
withDimensionValueList(Collection<String> dimensionValueList)
The list of values for the dimension specified in DimensionName that you want to filter on.
|
DimensionFilter |
withDimensionValueList(String... dimensionValueList)
The list of values for the dimension specified in DimensionName that you want to filter on.
|
public void setDimensionName(String dimensionName)
The name of the dimension to filter on.
dimensionName
- The name of the dimension to filter on.public String getDimensionName()
The name of the dimension to filter on.
public DimensionFilter withDimensionName(String dimensionName)
The name of the dimension to filter on.
dimensionName
- The name of the dimension to filter on.public List<String> getDimensionValueList()
The list of values for the dimension specified in DimensionName that you want to filter on.
public void setDimensionValueList(Collection<String> dimensionValueList)
The list of values for the dimension specified in DimensionName that you want to filter on.
dimensionValueList
- The list of values for the dimension specified in DimensionName that you want to filter on.public DimensionFilter withDimensionValueList(String... dimensionValueList)
The list of values for the dimension specified in DimensionName that you want to filter on.
NOTE: This method appends the values to the existing list (if any). Use
setDimensionValueList(java.util.Collection)
or withDimensionValueList(java.util.Collection)
if
you want to override the existing values.
dimensionValueList
- The list of values for the dimension specified in DimensionName that you want to filter on.public DimensionFilter withDimensionValueList(Collection<String> dimensionValueList)
The list of values for the dimension specified in DimensionName that you want to filter on.
dimensionValueList
- The list of values for the dimension specified in DimensionName that you want to filter on.public String toString()
toString
in class Object
Object.toString()
public DimensionFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.