Class ListTagsForResourceResult
java.lang.Object
com.amazonaws.services.inspector.model.ListTagsForResourceResult
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getTags()
A collection of key and value pairs.int
hashCode()
void
setTags
(Collection<Tag> tags) A collection of key and value pairs.toString()
Returns a string representation of this object; useful for testing and debugging.A collection of key and value pairs.withTags
(Collection<Tag> tags) A collection of key and value pairs.
-
Constructor Details
-
ListTagsForResourceResult
public ListTagsForResourceResult()
-
-
Method Details
-
getTags
A collection of key and value pairs.
- Returns:
- A collection of key and value pairs.
-
setTags
A collection of key and value pairs.
- Parameters:
tags
- A collection of key and value pairs.
-
withTags
A collection of key and value pairs.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
orwithTags(java.util.Collection)
if you want to override the existing values.- Parameters:
tags
- A collection of key and value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
A collection of key and value pairs.
- Parameters:
tags
- A collection of key and value pairs.- 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
-