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