@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagListEntry extends Object implements Serializable, Cloneable, StructuredPojo
Represents a single entry in a list of Amazon Web Services resource tags. TagListEntry returns an array
that contains a list of tasks when the ListTagsForResource
operation is called.
| Constructor and Description |
|---|
TagListEntry() |
| Modifier and Type | Method and Description |
|---|---|
TagListEntry |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The key for an Amazon Web Services resource tag.
|
String |
getValue()
The value for an Amazon Web Services resource tag.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setKey(String key)
The key for an Amazon Web Services resource tag.
|
void |
setValue(String value)
The value for an Amazon Web Services resource tag.
|
String |
toString()
Returns a string representation of this object.
|
TagListEntry |
withKey(String key)
The key for an Amazon Web Services resource tag.
|
TagListEntry |
withValue(String value)
The value for an Amazon Web Services resource tag.
|
public void setKey(String key)
The key for an Amazon Web Services resource tag.
key - The key for an Amazon Web Services resource tag.public String getKey()
The key for an Amazon Web Services resource tag.
public TagListEntry withKey(String key)
The key for an Amazon Web Services resource tag.
key - The key for an Amazon Web Services resource tag.public void setValue(String value)
The value for an Amazon Web Services resource tag.
value - The value for an Amazon Web Services resource tag.public String getValue()
The value for an Amazon Web Services resource tag.
public TagListEntry withValue(String value)
The value for an Amazon Web Services resource tag.
value - The value for an Amazon Web Services resource tag.public String toString()
toString in class ObjectObject.toString()public TagListEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.