Class Tag
java.lang.Object
com.amazonaws.services.redshift.model.Tag
- All Implemented Interfaces:
Serializable, Cloneable
A tag consisting of a name/value pair for a resource.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetKey()The key, or name, for the resource tag.getValue()The value for the resource tag.inthashCode()voidThe key, or name, for the resource tag.voidThe value for the resource tag.toString()Returns a string representation of this object; useful for testing and debugging.The key, or name, for the resource tag.The value for the resource tag.
-
Constructor Details
-
Tag
public Tag()
-
-
Method Details
-
setKey
The key, or name, for the resource tag.
- Parameters:
key- The key, or name, for the resource tag.
-
getKey
The key, or name, for the resource tag.
- Returns:
- The key, or name, for the resource tag.
-
withKey
-
setValue
The value for the resource tag.
- Parameters:
value- The value for the resource tag.
-
getValue
-
withValue
-
toString
-
equals
-
hashCode
-
clone
-