public TagResourceRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
<p>
The list of tag keys and values that must be associated with the resource. You can associate tag keys only, tags
(key and values) only, or a combination of tag keys and tags.
</p>

@param tags
       The list of tag keys and values that must be associated with the resource. You can associate tag keys
       only, tags (key and values) only, or a combination of tag keys and tags.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-repostspace/src/main/java/com/amazonaws/services/repostspace/model/TagResourceRequest.java