Interface CreateApiKeyCredentialProviderRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockAgentCoreControlRequest.Builder
,Buildable
,CopyableBuilder<CreateApiKeyCredentialProviderRequest.Builder,
,CreateApiKeyCredentialProviderRequest> SdkBuilder<CreateApiKeyCredentialProviderRequest.Builder,
,CreateApiKeyCredentialProviderRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateApiKeyCredentialProviderRequest
@Mutable
@NotThreadSafe
public static interface CreateApiKeyCredentialProviderRequest.Builder
extends BedrockAgentCoreControlRequest.Builder, SdkPojo, CopyableBuilder<CreateApiKeyCredentialProviderRequest.Builder,CreateApiKeyCredentialProviderRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe API key to use for authentication.The name of the API key credential provider.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A map of tag keys and values to assign to the API key credential provider.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the API key credential provider. The name must be unique within your account.
- Parameters:
name
- The name of the API key credential provider. The name must be unique within your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiKey
The API key to use for authentication. This value is encrypted and stored securely.
- Parameters:
apiKey
- The API key to use for authentication. This value is encrypted and stored securely.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A map of tag keys and values to assign to the API key credential provider. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.
- Parameters:
tags
- A map of tag keys and values to assign to the API key credential provider. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateApiKeyCredentialProviderRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateApiKeyCredentialProviderRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-