Class Tag
java.lang.Object
com.amazonaws.services.elasticbeanstalk.model.Tag
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a tag applied to a resource in an environment.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getKey()
The key of the tag.getValue()
The value of the tag.int
hashCode()
void
The key of the tag.void
The value of the tag.toString()
Returns a string representation of this object; useful for testing and debugging.The key of the tag.The value of the tag.
-
Constructor Details
-
Tag
public Tag()
-
-
Method Details
-
setKey
The key of the tag.
- Parameters:
key
- The key of the tag.
-
getKey
The key of the tag.
- Returns:
- The key of the tag.
-
withKey
The key of the tag.
- Parameters:
key
- The key of the tag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setValue
The value of the tag.
- Parameters:
value
- The value of the tag.
-
getValue
The value of the tag.
- Returns:
- The value of the tag.
-
withValue
The value of the tag.
- Parameters:
value
- The value of the tag.- 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
-