Class Tag
java.lang.Object
com.amazonaws.services.inspector.model.Tag
- All Implemented Interfaces:
Serializable, Cloneable
A key and value pair. This data type is used as a request parameter in the SetTagsForResource action and a response element in the ListTagsForResource action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetKey()A tag key.getValue()A value assigned to a tag key.inthashCode()voidA tag key.voidA value assigned to a tag key.toString()Returns a string representation of this object; useful for testing and debugging.A tag key.A value assigned to a tag key.
-
Constructor Details
-
Tag
public Tag()
-
-
Method Details
-
setKey
-
getKey
-
withKey
-
setValue
A value assigned to a tag key.
- Parameters:
value- A value assigned to a tag key.
-
getValue
-
withValue
-
toString
-
equals
-
hashCode
-
clone
-