- Enclosing interface:
BusClient
public static interface BusClient.Builder
-
Method Details
-
host
Sets the API host used by the client.- Parameters:
host- the host- Returns:
- this
BusClient.Builderfor method chaining - Throws:
NullPointerException- ifhostisnull
-
apiKey
Sets the API key used for authentication.- Parameters:
apiKey- the API key- Returns:
- this
BusClient.Builderfor method chaining - Throws:
NullPointerException- ifapiKeyisnull
-
build
BusClient build()Builds a configuredBusClientinstance.- Returns:
- a new
BusClient
-