Class ResourceTag
java.lang.Object
com.amazonaws.services.cloudtrail.model.ResourceTag
- All Implemented Interfaces:
Serializable, Cloneable
A resource tag.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanSpecifies the ARN of the resource.inthashCode()voidsetResourceId(String resourceId) Specifies the ARN of the resource.voidsetTagsList(Collection<Tag> tagsList) toString()Returns a string representation of this object; useful for testing and debugging.withResourceId(String resourceId) Specifies the ARN of the resource.withTagsList(Tag... tagsList) NOTE: This method appends the values to the existing list (if any).withTagsList(Collection<Tag> tagsList)
-
Constructor Details
-
ResourceTag
public ResourceTag()
-
-
Method Details
-
setResourceId
Specifies the ARN of the resource.
- Parameters:
resourceId- Specifies the ARN of the resource.
-
getResourceId
Specifies the ARN of the resource.
- Returns:
- Specifies the ARN of the resource.
-
withResourceId
Specifies the ARN of the resource.
- Parameters:
resourceId- Specifies the ARN of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTagsList
-
setTagsList
- Parameters:
tagsList-
-
withTagsList
NOTE: This method appends the values to the existing list (if any). Use
setTagsList(java.util.Collection)orwithTagsList(java.util.Collection)if you want to override the existing values.- Parameters:
tagsList-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTagsList
- Parameters:
tagsList-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-