Interface ClientConfiguration
- All Known Implementing Classes:
DefaultClientConfiguration
public interface ClientConfiguration
Interface for Meilisearch Configuration.
- Author:
- Junghoon Ban
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClientConfigurationBuilderbuilder()Create a newClientConfigurationBuilder.Get the apiKey.String[]Get the clientAgents.Get the hostUrl.intGet the request interval to wait for task to complete.intGet the request timeout to wait for task to complete.
-
Method Details
-
builder
Create a newClientConfigurationBuilder.- Returns:
- ClientConfigurationBuilder
-
getHostUrl
String getHostUrl()Get the hostUrl.- Returns:
- hostUrl
-
getApiKey
String getApiKey()Get the apiKey.- Returns:
- apiKey
-
getClientAgents
String[] getClientAgents()Get the clientAgents.- Returns:
- clientAgents
-
getRequestTimeout
int getRequestTimeout()Get the request timeout to wait for task to complete.- Returns:
- requestTimeout in milliseconds
-
getRequestInterval
int getRequestInterval()Get the request interval to wait for task to complete.- Returns:
- requestInterval in milliseconds
-