public TagResourceRequest withTags(java.util.Collection<Tag> tags) {
        setTags(tags);
        return this;
    }
<p>
The tags to be assigned to the Amazon Keyspaces resource.
</p>

@param tags
       The tags to be assigned to the Amazon Keyspaces resource.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-keyspaces/src/main/java/com/amazonaws/services/keyspaces/model/TagResourceRequest.java