Interface BedrockRuntimeBaseClientBuilder<B extends BedrockRuntimeBaseClientBuilder<B,C>,C>
- All Superinterfaces:
AwsClientBuilder<B,
,C> Buildable
,SdkBuilder<B,
,C> SdkClientBuilder<B,
C>
- All Known Subinterfaces:
BedrockRuntimeAsyncClientBuilder
,BedrockRuntimeClientBuilder
@Generated("software.amazon.awssdk:codegen")
public interface BedrockRuntimeBaseClientBuilder<B extends BedrockRuntimeBaseClientBuilder<B,C>,C>
extends AwsClientBuilder<B,C>
This includes configuration specific to Amazon Bedrock Runtime that is supported by both
BedrockRuntimeClientBuilder
and BedrockRuntimeAsyncClientBuilder
.-
Method Summary
Modifier and TypeMethodDescriptiondefault B
authSchemeProvider
(BedrockRuntimeAuthSchemeProvider authSchemeProvider) Set theBedrockRuntimeAuthSchemeProvider
implementation that will be used by the client to resolve the auth scheme for each request.default B
endpointProvider
(BedrockRuntimeEndpointProvider endpointProvider) Set theBedrockRuntimeEndpointProvider
implementation that will be used by the client to determine the endpoint for each request.default B
tokenProvider
(SdkTokenProvider tokenProvider) Set the token provider to use for bearer token authorization.default B
tokenProvider
(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, region
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.client.builder.SdkClientBuilder
addPlugin, endpointOverride, overrideConfiguration, overrideConfiguration, overrideConfiguration, plugins, putAuthScheme
-
Method Details
-
endpointProvider
Set theBedrockRuntimeEndpointProvider
implementation 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 theBedrockRuntimeAuthSchemeProvider
implementation 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_SIGNER
set 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_SIGNER
set on the client. By default it isBearerTokenSigner
.
-