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 String getKey()
Constraints:
Length: 1 - 128
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$
public void setKey(String key)
Constraints:
Length: 1 - 128
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$
key - The name of the key.public TagKeyOnly withKey(String key)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$
key - The name of the key.public String toString()
toString in class ObjectObject.toString()public TagKeyOnly clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.