Interface BedrockBaseClientBuilder<B extends BedrockBaseClientBuilder<B,C>,C>
- All Superinterfaces:
AwsClientBuilder<B,,C> Buildable,SdkBuilder<B,,C> SdkClientBuilder<B,C>
- All Known Subinterfaces:
BedrockAsyncClientBuilder,BedrockClientBuilder
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
public interface BedrockBaseClientBuilder<B extends BedrockBaseClientBuilder<B,C>,C>
extends AwsClientBuilder<B,C>
This includes configuration specific to Amazon Bedrock that is supported by both
BedrockClientBuilder and
BedrockAsyncClientBuilder.-
Method Summary
Modifier and TypeMethodDescriptiondefault BauthSchemeProvider(BedrockAuthSchemeProvider authSchemeProvider) Set theBedrockAuthSchemeProviderimplementation that will be used by the client to resolve the auth scheme for each request.default BendpointProvider(BedrockEndpointProvider endpointProvider) Set theBedrockEndpointProviderimplementation that will be used by the client to determine the endpoint for each request.default BtokenProvider(SdkTokenProvider tokenProvider) Set the token provider to use for bearer token authorization.default BtokenProvider(IdentityProvider<? extends TokenIdentity> tokenProvider) Set the token provider to use for bearer token authorization.Methods inherited from interface software.amazon.awssdk.awscore.client.builder.AwsClientBuilder
credentialsProvider, credentialsProvider, defaultsMode, dualstackEnabled, fipsEnabled, regionMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.client.builder.SdkClientBuilder
addPlugin, endpointOverride, overrideConfiguration, overrideConfiguration, overrideConfiguration, plugins, putAuthScheme
-
Method Details
-
endpointProvider
Set theBedrockEndpointProviderimplementation that will be used by the client to determine the endpoint for each request. This is optional; if none is provided a default implementation will be used the SDK. -
authSchemeProvider
Set theBedrockAuthSchemeProviderimplementation that will be used by the client to resolve the auth scheme for each request. This is optional; if none is provided a default implementation will be used the SDK. -
tokenProvider
Set the token provider to use for bearer token authorization. This is optional, if none is provided, the SDK will useDefaultAwsTokenProvider.If the service, or any of its operations require Bearer Token Authorization, then the SDK will default to this token provider to retrieve the token to use for authorization.
This provider works in conjunction with the
software.amazon.awssdk.core.client.config.SdkAdvancedClientOption.TOKEN_SIGNERset on the client. By default it isBearerTokenSigner. -
tokenProvider
Set the token provider to use for bearer token authorization. This is optional, if none is provided, the SDK will useDefaultAwsTokenProvider.If the service, or any of its operations require Bearer Token Authorization, then the SDK will default to this token provider to retrieve the token to use for authorization.
This provider works in conjunction with the
software.amazon.awssdk.core.client.config.SdkAdvancedClientOption.TOKEN_SIGNERset on the client. By default it isBearerTokenSigner.
-