Interface LuckPermsRestClient.Builder
- Enclosing interface:
LuckPermsRestClient
public static interface LuckPermsRestClient.Builder
A builder for
LuckPermsRestClient-
Method Summary
Modifier and TypeMethodDescriptionSets the API key for authentication.Sets the API base URL.build()Builds a client.httpClientConfigurer(Consumer<OkHttpClient.Builder> clientConfigurer) Sets a custom HTTP client configurer.
-
Method Details
-
baseUrl
Sets the API base URL.- Parameters:
baseUrl- the base url- Returns:
- this builder
-
apiKey
Sets the API key for authentication.- Parameters:
apiKey- the api key- Returns:
- this builder
-
httpClientConfigurer
Sets a custom HTTP client configurer.- Parameters:
clientConfigurer- the client configurer- Returns:
- this builder
-
build
-