public TagResourceRequest withResourceArn(String resourceArn) {
        setResourceArn(resourceArn);
        return this;
    }
<p>
The resource's Amazon Resource Name (ARN).
</p>

@param resourceArn
       The resource's Amazon Resource Name (ARN).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-personalize/src/main/java/com/amazonaws/services/personalize/model/TagResourceRequest.java