src/main/java/com/ngrok/DefaultNgrokApiClient.java
public DefaultNgrokApiClient build() {
            return new DefaultNgrokApiClient(
                this.apiKey,
                this.httpClient.orElseGet(DefaultNgrokApiClient::newDefaultHttpClient),
                this.baseUri.orElse(NgrokApiClient.DEFAULT_BASE_URI),
                this.objectMapper.orElseGet(() ->
                    new ObjectMapper()
                        .registerModule(new Jdk8Module())
                        .registerModule(new JavaTimeModule())
                )
            );
        }
/**
         * Builds the ngrok API client instance.
         *
         * @return an api client
         */
Builds the ngrok API client instance.
@return an api client
Builds the ngrok API client instance . @return an api client
public DefaultNgrokApiClient build() {
            return new DefaultNgrokApiClient(
                this.apiKey,
                this.httpClient.orElseGet(DefaultNgrokApiClient::newDefaultHttpClient),
                this.baseUri.orElse(NgrokApiClient.DEFAULT_BASE_URI),
                this.objectMapper.orElseGet(() ->
                    new ObjectMapper()
                        .registerModule(new Jdk8Module())
                        .registerModule(new JavaTimeModule())
                )
            );
        }
public DefaultNgrokApiClient build ( ) { return new DefaultNgrokApiClient ( this . apiKey , this . httpClient . orElseGet ( DefaultNgrokApiClient :: newDefaultHttpClient ) , this . baseUri . orElse ( NgrokApiClient . DEFAULT_BASE_URI ) , this . objectMapper . orElseGet ( ( ) -> new ObjectMapper ( ) . registerModule ( new Jdk8Module ( ) ) . registerModule ( new JavaTimeModule ( ) ) ) ) ; }
Builds the ngrok API client instance.
Builds the ngrok API client instance .