Class TagKeyOnly
- java.lang.Object
-
- com.amazonaws.services.elasticloadbalancing.model.TagKeyOnly
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class TagKeyOnly extends Object implements Serializable, Cloneable
The key of a tag.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TagKeyOnly()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setKey
public void setKey(String key)
The name of the key.
- Parameters:
key
- The name of the key.
-
getKey
public String getKey()
The name of the key.
- Returns:
- The name of the key.
-
withKey
public TagKeyOnly withKey(String key)
The name of the key.
- Parameters:
key
- The name of the key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public TagKeyOnly clone()
-
-