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

        this.tags = new java.util.ArrayList<Tag>(tags);
    }
<p>
A list of the tags that you want to add to the resource. A tag consists of a required tag key (<code>Key</code>)
and an associated tag value (<code>Value</code>). The maximum length of a tag key is 128 characters. The maximum
length of a tag value is 256 characters.
</p>

@param tags
       A list of the tags that you want to add to the resource. A tag consists of a required tag key (
       <code>Key</code>) and an associated tag value (<code>Value</code>). The maximum length of a tag key is 128
       characters. The maximum length of a tag value is 256 characters.
aws-java-sdk-pinpointemail/src/main/java/com/amazonaws/services/pinpointemail/model/TagResourceRequest.java