public CreateParameterGroupRequest withTags(java.util.Collection<Tag> tags) {
        setTags(tags);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-memorydb/src/main/java/com/amazonaws/services/memorydb/model/CreateParameterGroupRequest.java