public void setTags(java.util.Collection<Tag> tags) {
        if (tags == null) {
            this.tags = null;
            return;
        }

        this.tags = new java.util.ArrayList<Tag>(tags);
    }
<p>
Tags to apply to the resource. For more information see <a
href="https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html">Tagging Amazon Personalize
resources</a>.
</p>

@param tags
       Tags to apply to the resource. For more information see <a
       href="https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html">Tagging Amazon Personalize
       resources</a>.
aws-java-sdk-personalize/src/main/java/com/amazonaws/services/personalize/model/TagResourceRequest.java