public static class ShardedDatabaseServiceClient.Builder extends RegionalClientBuilder<ShardedDatabaseServiceClient.Builder,ShardedDatabaseServiceClient>
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 |
---|---|
ShardedDatabaseServiceClient |
build(AbstractAuthenticationDetailsProvider authenticationDetailsProvider)
Build the client.
|
ShardedDatabaseServiceClient.Builder |
executorService(ExecutorService executorService)
Set the ExecutorService for the client to be created.
|
ShardedDatabaseServiceClient.Builder |
isStreamWarningEnabled(boolean isStreamWarningEnabled)
Enable/disable the stream warnings for the client
|
region, region
additionalClientConfigurator, additionalClientConfigurators, clientConfigurator, configuration, copyFrom, endpoint, httpProvider, requestSignerFactory, signingStrategyRequestSignerFactories
public ShardedDatabaseServiceClient.Builder executorService(ExecutorService executorService)
Set the ExecutorService for the client to be created.
executorService
- executorServicepublic ShardedDatabaseServiceClient.Builder isStreamWarningEnabled(boolean isStreamWarningEnabled)
Enable/disable the stream warnings for the client
isStreamWarningEnabled
- executorServicepublic ShardedDatabaseServiceClient build(@Nonnull AbstractAuthenticationDetailsProvider authenticationDetailsProvider)
Build the client.
build
in class ClientBuilderBase<ShardedDatabaseServiceClient.Builder,ShardedDatabaseServiceClient>
authenticationDetailsProvider
- authentication details providerCopyright © 2016–2024. All rights reserved.