Uses of Class
com.datastax.astra.client.DataAPIOptions.DataAPIClientOptionsBuilder
-
Uses of DataAPIOptions.DataAPIClientOptionsBuilder in com.datastax.astra.client
Modifier and TypeMethodDescriptionDataAPIOptions.builder()
Initializer for the builder.DataAPIOptions.DataAPIClientOptionsBuilder.logRequests()
Help to enable loggin requests.DataAPIOptions.DataAPIClientOptionsBuilder.withApiVersion
(String apiVersion) Builder pattern, update api version.DataAPIOptions.DataAPIClientOptionsBuilder.withCaller
(String callerName, String callerVersion) Builder pattern, update caller information.DataAPIOptions.DataAPIClientOptionsBuilder.withDestination
(DataAPIOptions.DataAPIDestination destination) Builder pattern, update http connection TimeoutDataAPIOptions.DataAPIClientOptionsBuilder.withEmbeddingAPIKey
(String embeddingAPIKey) Builder pattern, update http connection TimeoutDataAPIOptions.DataAPIClientOptionsBuilder.withEmbeddingAuthProvider
(EmbeddingHeadersProvider embeddingAuthProvider) Builder pattern, update authentication provider for vectorize.DataAPIOptions.DataAPIClientOptionsBuilder.withHtpVersion
(HttpClient.Version version) Builder pattern, update http versionDataAPIOptions.DataAPIClientOptionsBuilder.withHttpConnectTimeout
(int requestTimeout) Builder pattern, update http connection TimeoutDataAPIOptions.DataAPIClientOptionsBuilder.withHttpProxy
(DataAPIOptions.HttpProxy httpProxy) Builder pattern, update http httpProxyDataAPIOptions.DataAPIClientOptionsBuilder.withHttpRedirect
(HttpClient.Redirect redirect) Builder pattern, update http redirectDataAPIOptions.DataAPIClientOptionsBuilder.withHttpRetryCount
(int retryCount) Builder pattern, update http retry countDataAPIOptions.DataAPIClientOptionsBuilder.withHttpRetryDelayMillis
(int retryDelay) Sets the delay between retry attempts when the number of retries is greater than 1.DataAPIOptions.DataAPIClientOptionsBuilder.withMaxDocumentCount
(int maxDocumentCount) Sets the maximum number of documents that can be returned by the count function.DataAPIOptions.DataAPIClientOptionsBuilder.withMaxDocumentsInInsert
(int maxDocumentsInInsert) Sets the maximum number of documents that can be inserted in a single operation.DataAPIOptions.DataAPIClientOptionsBuilder.withMaxPageSize
(int maxPageSize) Sets the maximum number of documents that can be returned in a single page.DataAPIOptions.DataAPIClientOptionsBuilder.withMaxTimeMS
(long connectTimeout) Builder pattern, update http request Timeout in millisDataAPIOptions.DataAPIClientOptionsBuilder.withObserver
(CommandObserver observer) Register an observer with its className.DataAPIOptions.DataAPIClientOptionsBuilder.withObserver
(String name, CommandObserver observer) Allow to register a listener for the command.