Package com.alibaba.dashscope
Class ClientOptions.Builder
java.lang.Object
com.alibaba.dashscope.ClientOptions.Builder
- Enclosing class:
- ClientOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuild()httpClient(okhttp3.OkHttpClient httpClient) maxRetries(Integer maxRetries) raiseOnError(Boolean raiseOnError) One of the six MaaS gateway regions; defaultcn-beijing.wsPingInterval(Duration wsPingInterval) SeeClientOptions.getWsPingInterval();Duration.ZEROdisables (the default).
-
Method Details
-
apiKey
-
baseUrl
-
wsBaseUrl
-
workspace
-
region
One of the six MaaS gateway regions; defaultcn-beijing. -
timeout
-
maxRetries
-
raiseOnError
-
wsPingInterval
SeeClientOptions.getWsPingInterval();Duration.ZEROdisables (the default). -
httpClient
-
executor
-
build
-