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