@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagKeyOnly extends Object implements Serializable, Cloneable
The key of a tag.
Constructor and Description |
---|
TagKeyOnly() |
Modifier and Type | Method and Description |
---|---|
TagKeyOnly |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The name of the key.
|
int |
hashCode() |
void |
setKey(String key)
The name of the key.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
TagKeyOnly |
withKey(String key)
The name of the key.
|
public void setKey(String key)
The name of the key.
key
- The name of the key.public String getKey()
The name of the key.
public TagKeyOnly withKey(String key)
The name of the key.
key
- The name of the key.public String toString()
toString
in class Object
Object.toString()
public TagKeyOnly clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.