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 tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag
value, although null is accepted.
</p>

@param tags
       A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a
       tag value, although null is accepted.
aws-java-sdk-memorydb/src/main/java/com/amazonaws/services/memorydb/model/CreateSnapshotRequest.java