Class ResourceGroupTag
java.lang.Object
com.amazonaws.services.inspector.model.ResourceGroupTag
- All Implemented Interfaces:
Serializable
,Cloneable
This data type is used as one of the elements of the ResourceGroup data type.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getKey()
A tag key.getValue()
The value assigned to a tag key.int
hashCode()
void
A tag key.void
The value assigned to a tag key.toString()
Returns a string representation of this object; useful for testing and debugging.A tag key.The value assigned to a tag key.
-
Constructor Details
-
ResourceGroupTag
public ResourceGroupTag()
-
-
Method Details
-
setKey
A tag key.
- Parameters:
key
- A tag key.
-
getKey
A tag key.
- Returns:
- A tag key.
-
withKey
A tag key.
- Parameters:
key
- A tag key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setValue
The value assigned to a tag key.
- Parameters:
value
- The value assigned to a tag key.
-
getValue
The value assigned to a tag key.
- Returns:
- The value assigned to a tag key.
-
withValue
The value assigned to a tag key.
- Parameters:
value
- The value assigned to a tag key.- 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
-