public static class GenerativeAiClient.Builder extends RegionalClientBuilder<GenerativeAiClient.Builder,GenerativeAiClient>
Builder class for this client. The “authenticationDetailsProvider” is required and must be
passed to the build(AbstractAuthenticationDetailsProvider)
method.
region
additionalClientConfigurators, clientConfigurator, configuration, endpoint, requestSignerFactory
Modifier and Type | Method and Description |
---|---|
GenerativeAiClient |
build(AbstractAuthenticationDetailsProvider authenticationDetailsProvider)
Build the client.
|
GenerativeAiClient.Builder |
executorService(ExecutorService executorService)
Set the ExecutorService for the client to be created.
|
region, region
additionalClientConfigurator, additionalClientConfigurators, clientConfigurator, configuration, copyFrom, endpoint, httpProvider, requestSignerFactory, signingStrategyRequestSignerFactories
public GenerativeAiClient.Builder executorService(ExecutorService executorService)
Set the ExecutorService for the client to be created.
executorService
- executorServicepublic GenerativeAiClient build(@Nonnull AbstractAuthenticationDetailsProvider authenticationDetailsProvider)
Build the client.
build
in class ClientBuilderBase<GenerativeAiClient.Builder,GenerativeAiClient>
authenticationDetailsProvider
- authentication details providerCopyright © 2016–2024. All rights reserved.