@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Tag extends Object implements Serializable, Cloneable, StructuredPojo
Tag for the Profile.
Constructor and Description |
---|
Tag() |
Modifier and Type | Method and Description |
---|---|
Tag |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
Key associated with the
Tag . |
String |
getValue()
Value for the Tag.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
Key associated with the
Tag . |
void |
setValue(String value)
Value for the Tag.
|
String |
toString()
Returns a string representation of this object.
|
Tag |
withKey(String key)
Key associated with the
Tag . |
Tag |
withValue(String value)
Value for the Tag.
|
public void setKey(String key)
Key associated with the Tag
.
key
- Key associated with the Tag
.public String getKey()
Key associated with the Tag
.
Tag
.public Tag withKey(String key)
Key associated with the Tag
.
key
- Key associated with the Tag
.public void setValue(String value)
Value for the Tag.
value
- Value for the Tag.public String getValue()
Value for the Tag.
public Tag withValue(String value)
Value for the Tag.
value
- Value for the Tag.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.