Package com.oracle.bmc.apigateway
Class ApiGatewayClient.Builder
- java.lang.Object
-
- com.oracle.bmc.common.ClientBuilderBase<B,C>
-
- com.oracle.bmc.common.RegionalClientBuilder<ApiGatewayClient.Builder,ApiGatewayClient>
-
- com.oracle.bmc.apigateway.ApiGatewayClient.Builder
-
- Enclosing class:
- ApiGatewayClient
public static class ApiGatewayClient.Builder extends RegionalClientBuilder<ApiGatewayClient.Builder,ApiGatewayClient>
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 ApiGatewayClient
build(AbstractAuthenticationDetailsProvider authenticationDetailsProvider)
Build the client.ApiGatewayClient.Builder
executorService(ExecutorService executorService)
Set the ExecutorService for the client to be created.ApiGatewayClient.Builder
isStreamWarningEnabled(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 ApiGatewayClient.Builder executorService(ExecutorService executorService)
Set the ExecutorService for the client to be created.- Parameters:
executorService
- executorService- Returns:
- this builder
-
isStreamWarningEnabled
public ApiGatewayClient.Builder isStreamWarningEnabled(boolean isStreamWarningEnabled)
Enable/disable the stream warnings for the client- Parameters:
isStreamWarningEnabled
- executorService- Returns:
- this builder
-
build
public ApiGatewayClient build(@Nonnull AbstractAuthenticationDetailsProvider authenticationDetailsProvider)
Build the client.- Specified by:
build
in classClientBuilderBase<ApiGatewayClient.Builder,ApiGatewayClient>
- Parameters:
authenticationDetailsProvider
- authentication details provider- Returns:
- the client
-
-