Interface UpdateApiKeyCredentialProviderRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreControlRequest.Builder,Buildable,CopyableBuilder<UpdateApiKeyCredentialProviderRequest.Builder,,UpdateApiKeyCredentialProviderRequest> SdkBuilder<UpdateApiKeyCredentialProviderRequest.Builder,,UpdateApiKeyCredentialProviderRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateApiKeyCredentialProviderRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe new API key to use for authentication.apiKeySecretConfig(Consumer<SecretReference.Builder> apiKeySecretConfig) A reference to the Amazon Web Services Secrets Manager secret that stores the API key.apiKeySecretConfig(SecretReference apiKeySecretConfig) A reference to the Amazon Web Services Secrets Manager secret that stores the API key.apiKeySecretSource(String apiKeySecretSource) The source type of the API key secret.apiKeySecretSource(SecretSourceType apiKeySecretSource) The source type of the API key secret.The name of the API key credential provider to update.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the API key credential provider to update.
- Parameters:
name- The name of the API key credential provider to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiKey
The new API key to use for authentication. This value replaces the existing API key and is encrypted and stored securely.
- Parameters:
apiKey- The new API key to use for authentication. This value replaces the existing API key and is encrypted and stored securely.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiKeySecretConfig
UpdateApiKeyCredentialProviderRequest.Builder apiKeySecretConfig(SecretReference apiKeySecretConfig) A reference to the Amazon Web Services Secrets Manager secret that stores the API key. This includes the secret ID and the JSON key used to extract the API key value from the secret. Required when
apiKeySecretSourceis set toEXTERNAL.- Parameters:
apiKeySecretConfig- A reference to the Amazon Web Services Secrets Manager secret that stores the API key. This includes the secret ID and the JSON key used to extract the API key value from the secret. Required whenapiKeySecretSourceis set toEXTERNAL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiKeySecretConfig
default UpdateApiKeyCredentialProviderRequest.Builder apiKeySecretConfig(Consumer<SecretReference.Builder> apiKeySecretConfig) A reference to the Amazon Web Services Secrets Manager secret that stores the API key. This includes the secret ID and the JSON key used to extract the API key value from the secret. Required when
This is a convenience method that creates an instance of theapiKeySecretSourceis set toEXTERNAL.SecretReference.Builderavoiding the need to create one manually viaSecretReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapiKeySecretConfig(SecretReference).- Parameters:
apiKeySecretConfig- a consumer that will call methods onSecretReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
apiKeySecretSource
The source type of the API key secret. Use
MANAGEDif the secret is managed by the service, orEXTERNALif you manage the secret yourself in Amazon Web Services Secrets Manager.- Parameters:
apiKeySecretSource- The source type of the API key secret. UseMANAGEDif the secret is managed by the service, orEXTERNALif you manage the secret yourself in Amazon Web Services Secrets Manager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
apiKeySecretSource
UpdateApiKeyCredentialProviderRequest.Builder apiKeySecretSource(SecretSourceType apiKeySecretSource) The source type of the API key secret. Use
MANAGEDif the secret is managed by the service, orEXTERNALif you manage the secret yourself in Amazon Web Services Secrets Manager.- Parameters:
apiKeySecretSource- The source type of the API key secret. UseMANAGEDif the secret is managed by the service, orEXTERNALif you manage the secret yourself in Amazon Web Services Secrets Manager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateApiKeyCredentialProviderRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateApiKeyCredentialProviderRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-