@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagListEntry extends Object implements Serializable, Cloneable, StructuredPojo
A key-value pair representing a single tag that's been applied to an Amazon Web Services resource.
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)
Marshalls this structured data using the given
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 Object
Object.toString()
public TagListEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.