@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 AWS 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 AWS resource tag.
|
String |
getValue()
The value for an AWS resource tag.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setKey(String key)
The key for an AWS resource tag.
|
void |
setValue(String value)
The value for an AWS resource tag.
|
String |
toString()
Returns a string representation of this object.
|
TagListEntry |
withKey(String key)
The key for an AWS resource tag.
|
TagListEntry |
withValue(String value)
The value for an AWS resource tag.
|
public void setKey(String key)
The key for an AWS resource tag.
key - The key for an AWS resource tag.public String getKey()
The key for an AWS resource tag.
public TagListEntry withKey(String key)
The key for an AWS resource tag.
key - The key for an AWS resource tag.public void setValue(String value)
The value for an AWS resource tag.
value - The value for an AWS resource tag.public String getValue()
The value for an AWS resource tag.
public TagListEntry withValue(String value)
The value for an AWS resource tag.
value - The value for an AWS resource tag.public String toString()
toString in class ObjectObject.toString()public TagListEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.