@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceTag extends Object implements Serializable, Cloneable, StructuredPojo
Tags are key-value pairs that can be associated with Amazon SWF state machines and activities.
Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @.
| Constructor and Description |
|---|
ResourceTag() |
| Modifier and Type | Method and Description |
|---|---|
ResourceTag |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The key of a tag.
|
String |
getValue()
The value of a tag.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setKey(String key)
The key of a tag.
|
void |
setValue(String value)
The value of a tag.
|
String |
toString()
Returns a string representation of this object.
|
ResourceTag |
withKey(String key)
The key of a tag.
|
ResourceTag |
withValue(String value)
The value of a tag.
|
public void setKey(String key)
The key of a tag.
key - The key of a tag.public String getKey()
The key of a tag.
public ResourceTag withKey(String key)
The key of a tag.
key - The key of a tag.public void setValue(String value)
The value of a tag.
value - The value of a tag.public String getValue()
The value of a tag.
public ResourceTag withValue(String value)
The value of a tag.
value - The value of a tag.public String toString()
toString in class ObjectObject.toString()public ResourceTag clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.