public TagResourceRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
<p>
The tags to assign to the specified resource. Tag values can be empty, for example, <code>"MyTagKey" : ""</code>.
You can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each
resource.
</p>

@param tags
       The tags to assign to the specified resource. Tag values can be empty, for example,
       <code>"MyTagKey" : ""</code>. You can specify multiple key-value pairs in a single request, with an
       overall maximum of 50 tags added to each resource.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-managedblockchain/src/main/java/com/amazonaws/services/managedblockchain/model/TagResourceRequest.java