public SegmentFileOptions build() {
                return new SegmentFileOptions(this.recover, this.isLastFile, this.isNewFile, this.sync, this.pos);
            }
Segment file options.

@author boyan(boyan@antfin.com)
jraft-core/src/main/java/com/alipay/sofa/jraft/storage/log/SegmentFile.java