Builder

public final class Builder

A builder for creating NylasClient. Allows applications to customize the Nylas http access by choosing a different base url or modifying http client options.

Parameters

apiKey

The Nylas API key to use for authentication.

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
public final NylasClient.Builder apiUri(String apiUri)

Set the base url for the NylasClient.

Link copied to clipboard
public final NylasClient build()

Build the NylasClient instance

Link copied to clipboard
public final NylasClient.Builder httpClient(OkHttpClient.Builder httpClient)

Set the OkHttpClient.Builder for the NylasClient.