src/main/java/com/ngrok/definitions/EndpointCircuitBreaker.java
public EndpointCircuitBreaker build() {
            return new EndpointCircuitBreaker(
                this.enabled,
                this.trippedDuration.orElse(java.time.Duration.ZERO),
                this.rollingWindow.orElse(0L),
                this.numBuckets.orElse(0L),
                this.volumeThreshold.orElse(0L),
                this.errorThresholdPercentage.orElse(0.0d)
            );
        }
/**
         * Constructs the {@link EndpointCircuitBreaker} instance.
         *
         * @return a new {@link EndpointCircuitBreaker}
         */
Constructs the  EndpointCircuitBreaker instance.
@return a new  EndpointCircuitBreaker
Constructs the EndpointCircuitBreaker instance . @return a new EndpointCircuitBreaker
public EndpointCircuitBreaker build() {
            return new EndpointCircuitBreaker(
                this.enabled,
                this.trippedDuration.orElse(java.time.Duration.ZERO),
                this.rollingWindow.orElse(0L),
                this.numBuckets.orElse(0L),
                this.volumeThreshold.orElse(0L),
                this.errorThresholdPercentage.orElse(0.0d)
            );
        }
public EndpointCircuitBreaker build ( ) { return new EndpointCircuitBreaker ( this . enabled , this . trippedDuration . orElse ( java . time . Duration . ZERO ) , this . rollingWindow . orElse ( 0L ) , this . numBuckets . orElse ( 0L ) , this . volumeThreshold . orElse ( 0L ) , this . errorThresholdPercentage . orElse ( 0.0d ) ) ; }
Constructs the {@link EndpointCircuitBreaker} instance.
Constructs the { @link EndpointCircuitBreaker } instance .