@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DimensionValues extends Object implements Serializable, Cloneable, StructuredPojo
Contains the specifications for the filters to use for your request.
Constructor and Description |
---|
DimensionValues() |
Modifier and Type | Method and Description |
---|---|
DimensionValues |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The name of the dimension that you want to filter on.
|
List<String> |
getMatchOptions()
The match options that you can use to filter your results.
|
List<String> |
getValues()
The metadata values you can specify to filter upon, so that the results all match at least one of the specified
values.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
The name of the dimension that you want to filter on.
|
void |
setMatchOptions(Collection<String> matchOptions)
The match options that you can use to filter your results.
|
void |
setValues(Collection<String> values)
The metadata values you can specify to filter upon, so that the results all match at least one of the specified
values.
|
String |
toString()
Returns a string representation of this object.
|
DimensionValues |
withKey(Dimension key)
The name of the dimension that you want to filter on.
|
DimensionValues |
withKey(String key)
The name of the dimension that you want to filter on.
|
DimensionValues |
withMatchOptions(Collection<String> matchOptions)
The match options that you can use to filter your results.
|
DimensionValues |
withMatchOptions(MatchOption... matchOptions)
The match options that you can use to filter your results.
|
DimensionValues |
withMatchOptions(String... matchOptions)
The match options that you can use to filter your results.
|
DimensionValues |
withValues(Collection<String> values)
The metadata values you can specify to filter upon, so that the results all match at least one of the specified
values.
|
DimensionValues |
withValues(String... values)
The metadata values you can specify to filter upon, so that the results all match at least one of the specified
values.
|
public void setKey(String key)
The name of the dimension that you want to filter on.
key
- The name of the dimension that you want to filter on.Dimension
public String getKey()
The name of the dimension that you want to filter on.
Dimension
public DimensionValues withKey(String key)
The name of the dimension that you want to filter on.
key
- The name of the dimension that you want to filter on.Dimension
public DimensionValues withKey(Dimension key)
The name of the dimension that you want to filter on.
key
- The name of the dimension that you want to filter on.Dimension
public List<String> getMatchOptions()
The match options that you can use to filter your results. You can specify only one of these values in the array.
MatchOption
public void setMatchOptions(Collection<String> matchOptions)
The match options that you can use to filter your results. You can specify only one of these values in the array.
matchOptions
- The match options that you can use to filter your results. You can specify only one of these values in the
array.MatchOption
public DimensionValues withMatchOptions(String... matchOptions)
The match options that you can use to filter your results. You can specify only one of these values in the array.
NOTE: This method appends the values to the existing list (if any). Use
setMatchOptions(java.util.Collection)
or withMatchOptions(java.util.Collection)
if you want to
override the existing values.
matchOptions
- The match options that you can use to filter your results. You can specify only one of these values in the
array.MatchOption
public DimensionValues withMatchOptions(Collection<String> matchOptions)
The match options that you can use to filter your results. You can specify only one of these values in the array.
matchOptions
- The match options that you can use to filter your results. You can specify only one of these values in the
array.MatchOption
public DimensionValues withMatchOptions(MatchOption... matchOptions)
The match options that you can use to filter your results. You can specify only one of these values in the array.
matchOptions
- The match options that you can use to filter your results. You can specify only one of these values in the
array.MatchOption
public List<String> getValues()
The metadata values you can specify to filter upon, so that the results all match at least one of the specified values.
public void setValues(Collection<String> values)
The metadata values you can specify to filter upon, so that the results all match at least one of the specified values.
values
- The metadata values you can specify to filter upon, so that the results all match at least one of the
specified values.public DimensionValues withValues(String... values)
The metadata values you can specify to filter upon, so that the results all match at least one of the specified 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
- The metadata values you can specify to filter upon, so that the results all match at least one of the
specified values.public DimensionValues withValues(Collection<String> values)
The metadata values you can specify to filter upon, so that the results all match at least one of the specified values.
values
- The metadata values you can specify to filter upon, so that the results all match at least one of the
specified values.public String toString()
toString
in class Object
Object.toString()
public DimensionValues clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.