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") 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 Details

    • endpointProvider

      default B endpointProvider(BedrockEndpointProvider endpointProvider)
      Set the BedrockEndpointProvider 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

      default B authSchemeProvider(BedrockAuthSchemeProvider authSchemeProvider)
      Set the BedrockAuthSchemeProvider 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

      default B tokenProvider(SdkTokenProvider tokenProvider)
      Set the token provider to use for bearer token authorization. This is optional, if none is provided, the SDK will use DefaultAwsTokenProvider.

      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 is BearerTokenSigner.

    • tokenProvider

      default B tokenProvider(IdentityProvider<? extends TokenIdentity> tokenProvider)
      Set the token provider to use for bearer token authorization. This is optional, if none is provided, the SDK will use DefaultAwsTokenProvider.

      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 is BearerTokenSigner.