public class Tag extends Object implements Serializable
Constructor and Description |
---|
Tag(String key,
String value)
Constructs an instance of this object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getKey() |
String |
getValue() |
int |
hashCode() |
void |
setKey(String key)
Set the tag key.
|
void |
setValue(String value)
Set the tag value.
|
Tag |
withKey(String key)
Set the tag key.
|
Tag |
withValue(String value)
Set the tag value.
|
public String getKey()
public void setKey(String key)
key
- The tag key.public Tag withKey(String key)
key
- The tag key.public String getValue()
public void setValue(String value)
value
- The tag value.public Tag withValue(String value)
value
- The tag value.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.