@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.
| 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> |
getValues()
The specific value of the tag.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setKey(String key)
The key for the tag.
|
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 |
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 String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.