public TagResourceRequest withResourceARN(String resourceARN) {
        setResourceARN(resourceARN);
        return this;
    }
<p>
The ARN of the CloudWatch resource that you're adding tags to.
</p>
<p>
The ARN format of an alarm is
<code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:alarm:<i>alarm-name</i> </code>
</p>
<p>
The ARN format of a Contributor Insights rule is
<code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:insight-rule/<i>insight-rule-name</i> </code>
</p>
<p>
For more information about ARN format, see <a href=
"https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatch.html#amazoncloudwatch-resources-for-iam-policies"
> Resource Types Defined by Amazon CloudWatch</a> in the <i>Amazon Web Services General Reference</i>.
</p>

@param resourceARN
       The ARN of the CloudWatch resource that you're adding tags to.</p>
       <p>
       The ARN format of an alarm is
       <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:alarm:<i>alarm-name</i> </code>
       </p>
       <p>
       The ARN format of a Contributor Insights rule is
       <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:insight-rule/<i>insight-rule-name</i> </code>
       </p>
       <p>
       For more information about ARN format, see <a href=
       "https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatch.html#amazoncloudwatch-resources-for-iam-policies"
       > Resource Types Defined by Amazon CloudWatch</a> in the <i>Amazon Web Services General Reference</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudwatch/src/main/java/com/amazonaws/services/cloudwatch/model/TagResourceRequest.java