Class ResourceTagSet
- All Implemented Interfaces:
Serializable
,Cloneable
A complex type containing a resource and its associated tags.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The ID for the specified resource.The type of the resource.getTags()
The tags associated with the specified resource.int
hashCode()
void
setResourceId
(String resourceId) The ID for the specified resource.void
setResourceType
(TagResourceType resourceType) The type of the resource.void
setResourceType
(String resourceType) The type of the resource.void
setTags
(Collection<Tag> tags) The tags associated with the specified resource.toString()
Returns a string representation of this object; useful for testing and debugging.withResourceId
(String resourceId) The ID for the specified resource.withResourceType
(TagResourceType resourceType) The type of the resource.withResourceType
(String resourceType) The type of the resource.The tags associated with the specified resource.withTags
(Collection<Tag> tags) The tags associated with the specified resource.
-
Constructor Details
-
ResourceTagSet
public ResourceTagSet()
-
-
Method Details
-
setResourceType
The type of the resource.
- The resource type for health checks is
healthcheck
.- The resource type for hosted zones is
hostedzone
.- Parameters:
resourceType
- The type of the resource.- The resource type for health checks is
healthcheck
.- The resource type for hosted zones is
hostedzone
.- See Also:
-
getResourceType
The type of the resource.
- The resource type for health checks is
healthcheck
.- The resource type for hosted zones is
hostedzone
.- Returns:
- The type of the resource.
- The resource type for health checks is
healthcheck
.- The resource type for hosted zones is
hostedzone
. - See Also:
-
withResourceType
The type of the resource.
- The resource type for health checks is
healthcheck
.- The resource type for hosted zones is
hostedzone
.- Parameters:
resourceType
- The type of the resource.- The resource type for health checks is
healthcheck
.- The resource type for hosted zones is
hostedzone
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setResourceType
The type of the resource.
- The resource type for health checks is
healthcheck
.- The resource type for hosted zones is
hostedzone
.- Parameters:
resourceType
- The type of the resource.- The resource type for health checks is
healthcheck
.- The resource type for hosted zones is
hostedzone
.- See Also:
-
withResourceType
The type of the resource.
- The resource type for health checks is
healthcheck
.- The resource type for hosted zones is
hostedzone
.- Parameters:
resourceType
- The type of the resource.- The resource type for health checks is
healthcheck
.- The resource type for hosted zones is
hostedzone
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setResourceId
The ID for the specified resource.
- Parameters:
resourceId
- The ID for the specified resource.
-
getResourceId
The ID for the specified resource.
- Returns:
- The ID for the specified resource.
-
withResourceId
The ID for the specified resource.
- Parameters:
resourceId
- The ID for the specified resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTags
The tags associated with the specified resource.
- Returns:
- The tags associated with the specified resource.
-
setTags
The tags associated with the specified resource.
- Parameters:
tags
- The tags associated with the specified resource.
-
withTags
The tags associated with the specified resource.
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
- The tags associated with the specified resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
The tags associated with the specified resource.
- Parameters:
tags
- The tags associated with the specified resource.- 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
-