@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Tag extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Tag() |
Modifier and Type | Method and Description |
---|---|
Tag |
clone() |
boolean |
equals(Object obj) |
String |
getTagKey()
The tag key.
|
String |
getTagValue()
The tag value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTagKey(String tagKey)
The tag key.
|
void |
setTagValue(String tagValue)
The tag value.
|
String |
toString()
Returns a string representation of this object.
|
Tag |
withTagKey(String tagKey)
The tag key.
|
Tag |
withTagValue(String tagValue)
The tag value.
|
public void setTagKey(String tagKey)
tagKey
- The tag key.public String getTagKey()
public Tag withTagKey(String tagKey)
tagKey
- The tag key.public void setTagValue(String tagValue)
tagValue
- The tag value.public String getTagValue()
public Tag withTagValue(String tagValue)
tagValue
- The tag value.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.