/** * Returns a new {@link Builder} with all given options set. * * @param traceOptions the given options set. * @return a new {@code Builder} with all given options set. */ public static Builder builder(TraceOptions traceOptions) { return new Builder(traceOptions.options); }
/** * Returns a new {@link Builder} with all given options set. * * @param traceOptions the given options set. * @return a new {@code Builder} with all given options set. * @since 0.5 */ public static Builder builder(TraceOptions traceOptions) { return new Builder(traceOptions.options); }
/** * Returns a new {@link Builder} with default options. * * @return a new {@code Builder} with default options. */ public static Builder builder() { return new Builder(DEFAULT_OPTIONS); }
/** * Returns a new {@link Builder} with default options. * * @return a new {@code Builder} with default options. * @since 0.5 */ public static Builder builder() { return new Builder(DEFAULT_OPTIONS); }