public TagResourceRequest withResourceArn(String resourceArn) {
        setResourceArn(resourceArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the CloudWatch resource that you want to set tags for.
</p>
<p>
The ARN format of an Application Signals SLO is
<code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:slo:<i>slo-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 Amazon Resource Name (ARN) of the CloudWatch resource that you want to set tags for.</p>
       <p>
       The ARN format of an Application Signals SLO is
       <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:slo:<i>slo-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-applicationsignals/src/main/java/com/amazonaws/services/applicationsignals/model/TagResourceRequest.java