Package com.oracle.bmc.servicecatalog
Class ServiceCatalogClient.Builder
- java.lang.Object
-
- com.oracle.bmc.common.ClientBuilderBase<B,C>
-
- com.oracle.bmc.common.RegionalClientBuilder<ServiceCatalogClient.Builder,ServiceCatalogClient>
-
- com.oracle.bmc.servicecatalog.ServiceCatalogClient.Builder
-
- Enclosing class:
- ServiceCatalogClient
public static class ServiceCatalogClient.Builder extends RegionalClientBuilder<ServiceCatalogClient.Builder,ServiceCatalogClient>
Builder class for this client.The “authenticationDetailsProvider” is required and must be passed to the
build(AbstractAuthenticationDetailsProvider)method.
-
-
Field Summary
-
Fields inherited from class com.oracle.bmc.common.RegionalClientBuilder
region
-
Fields inherited from class com.oracle.bmc.common.ClientBuilderBase
additionalClientConfigurators, clientConfigurator, configuration, endpoint, requestSignerFactory
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceCatalogClientbuild(AbstractAuthenticationDetailsProvider authenticationDetailsProvider)Build the client.ServiceCatalogClient.BuilderexecutorService(ExecutorService executorService)Set the ExecutorService for the client to be created.ServiceCatalogClient.BuilderisStreamWarningEnabled(boolean isStreamWarningEnabled)Enable/disable the stream warnings for the client-
Methods inherited from class com.oracle.bmc.common.RegionalClientBuilder
region, region
-
Methods inherited from class com.oracle.bmc.common.ClientBuilderBase
additionalClientConfigurator, additionalClientConfigurators, clientConfigurator, configuration, copyFrom, endpoint, httpProvider, requestSignerFactory, signingStrategyRequestSignerFactories
-
-
-
-
Method Detail
-
executorService
public ServiceCatalogClient.Builder executorService(ExecutorService executorService)
Set the ExecutorService for the client to be created.- Parameters:
executorService- executorService- Returns:
- this builder
-
isStreamWarningEnabled
public ServiceCatalogClient.Builder isStreamWarningEnabled(boolean isStreamWarningEnabled)
Enable/disable the stream warnings for the client- Parameters:
isStreamWarningEnabled- executorService- Returns:
- this builder
-
build
public ServiceCatalogClient build(@Nonnull AbstractAuthenticationDetailsProvider authenticationDetailsProvider)
Build the client.- Specified by:
buildin classClientBuilderBase<ServiceCatalogClient.Builder,ServiceCatalogClient>- Parameters:
authenticationDetailsProvider- authentication details provider- Returns:
- the client
-
-