Class Tag
java.lang.Object
com.amazonaws.services.route53.model.Tag
- All Implemented Interfaces:
Serializable,Cloneable
A single tag containing a key and value.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetKey()The key for aTag.getValue()The value for aTag.inthashCode()voidThe key for aTag.voidThe value for aTag.toString()Returns a string representation of this object; useful for testing and debugging.The key for aTag.The value for aTag.
-
Constructor Details
-
Tag
public Tag()
-
-
Method Details
-
setKey
The key for a
Tag.- Parameters:
key- The key for aTag.
-
getKey
The key for a
Tag.- Returns:
- The key for a
Tag.
-
withKey
The key for a
Tag.- Parameters:
key- The key for aTag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setValue
The value for a
Tag.- Parameters:
value- The value for aTag.
-
getValue
The value for a
Tag.- Returns:
- The value for a
Tag.
-
withValue
The value for a
Tag.- Parameters:
value- The value for aTag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-