@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) |
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 ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.