Package ai.vectros.core
Class ClientOptions.Builder
java.lang.Object
ai.vectros.core.ClientOptions.Builder
- Enclosing class:
ClientOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()environment(Environment environment) static ClientOptions.Builderfrom(ClientOptions clientOptions) Create a new Builder initialized with values from an existing ClientOptionshttpClient(okhttp3.OkHttpClient httpClient) Configure logging for the SDK.maxRetries(int maxRetries) Override the maximum number of retries.timeout(int timeout) Override the timeout in seconds.Override the timeout in seconds.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
environment
-
addHeader
-
addHeader
-
timeout
Override the timeout in seconds. Defaults to 60 seconds. -
timeout
Override the timeout in seconds. Defaults to 60 seconds. -
maxRetries
Override the maximum number of retries. Defaults to 2 retries. -
httpClient
-
logging
Configure logging for the SDK. Silent by default — no log output unless explicitly configured. -
build
-
from
Create a new Builder initialized with values from an existing ClientOptions
-