@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CostCategoryValues extends Object implements Serializable, Cloneable, StructuredPojo
The Cost Categories values used for filtering the costs.
If Values
and Key
are not specified, the ABSENT
MatchOption
is
applied to all Cost Categories. That is, it filters on resources that aren't mapped to any Cost Categories.
If Values
is provided and Key
isn't specified, the ABSENT
MatchOption
is applied to the Cost Categories Key
only. That is, it filters on resources
without the given Cost Categories key.
Constructor and Description |
---|
CostCategoryValues() |
Modifier and Type | Method and Description |
---|---|
CostCategoryValues |
clone() |
boolean |
equals(Object obj) |
String |
getKey() |
List<String> |
getMatchOptions()
The match options that you can use to filter your results.
|
List<String> |
getValues()
The specific value of the Cost Category.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key) |
void |
setMatchOptions(Collection<String> matchOptions)
The match options that you can use to filter your results.
|
void |
setValues(Collection<String> values)
The specific value of the Cost Category.
|
String |
toString()
Returns a string representation of this object.
|
CostCategoryValues |
withKey(String key) |
CostCategoryValues |
withMatchOptions(Collection<String> matchOptions)
The match options that you can use to filter your results.
|
CostCategoryValues |
withMatchOptions(MatchOption... matchOptions)
The match options that you can use to filter your results.
|
CostCategoryValues |
withMatchOptions(String... matchOptions)
The match options that you can use to filter your results.
|
CostCategoryValues |
withValues(Collection<String> values)
The specific value of the Cost Category.
|
CostCategoryValues |
withValues(String... values)
The specific value of the Cost Category.
|
public void setKey(String key)
key
- public String getKey()
public CostCategoryValues withKey(String key)
key
- public List<String> getValues()
The specific value of the Cost Category.
public void setValues(Collection<String> values)
The specific value of the Cost Category.
values
- The specific value of the Cost Category.public CostCategoryValues withValues(String... values)
The specific value of the Cost Category.
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 specific value of the Cost Category.public CostCategoryValues withValues(Collection<String> values)
The specific value of the Cost Category.
values
- The specific value of the Cost Category.public List<String> getMatchOptions()
The match options that you can use to filter your results. MatchOptions is only applicable for actions related to
cost category. The default values for MatchOptions
is EQUALS
and
CASE_SENSITIVE
.
MatchOptions
is EQUALS
and
CASE_SENSITIVE
.MatchOption
public void setMatchOptions(Collection<String> matchOptions)
The match options that you can use to filter your results. MatchOptions is only applicable for actions related to
cost category. The default values for MatchOptions
is EQUALS
and
CASE_SENSITIVE
.
matchOptions
- The match options that you can use to filter your results. MatchOptions is only applicable for actions
related to cost category. The default values for MatchOptions
is EQUALS
and
CASE_SENSITIVE
.MatchOption
public CostCategoryValues withMatchOptions(String... matchOptions)
The match options that you can use to filter your results. MatchOptions is only applicable for actions related to
cost category. The default values for MatchOptions
is EQUALS
and
CASE_SENSITIVE
.
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. MatchOptions is only applicable for actions
related to cost category. The default values for MatchOptions
is EQUALS
and
CASE_SENSITIVE
.MatchOption
public CostCategoryValues withMatchOptions(Collection<String> matchOptions)
The match options that you can use to filter your results. MatchOptions is only applicable for actions related to
cost category. The default values for MatchOptions
is EQUALS
and
CASE_SENSITIVE
.
matchOptions
- The match options that you can use to filter your results. MatchOptions is only applicable for actions
related to cost category. The default values for MatchOptions
is EQUALS
and
CASE_SENSITIVE
.MatchOption
public CostCategoryValues withMatchOptions(MatchOption... matchOptions)
The match options that you can use to filter your results. MatchOptions is only applicable for actions related to
cost category. The default values for MatchOptions
is EQUALS
and
CASE_SENSITIVE
.
matchOptions
- The match options that you can use to filter your results. MatchOptions is only applicable for actions
related to cost category. The default values for MatchOptions
is EQUALS
and
CASE_SENSITIVE
.MatchOption
public String toString()
toString
in class Object
Object.toString()
public CostCategoryValues clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.