public WriteSegmentRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
public WriteSegmentRequest withTags ( java . util . Map < String , String > tags ) { setTags ( tags ) ; return this ; }
The Tags for the segments.

@param tags
The Tags for the segments.
@return Returns a reference to this object so that method calls can be chained together.