toBuilder

public abstract Segment.Builder toBuilder()

Creates a builder with the same values as this instance.