Interface SetTokenVaultCmkRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockAgentCoreControlRequest.Builder
,Buildable
,CopyableBuilder<SetTokenVaultCmkRequest.Builder,
,SetTokenVaultCmkRequest> SdkBuilder<SetTokenVaultCmkRequest.Builder,
,SetTokenVaultCmkRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
SetTokenVaultCmkRequest
@Mutable
@NotThreadSafe
public static interface SetTokenVaultCmkRequest.Builder
extends BedrockAgentCoreControlRequest.Builder, SdkPojo, CopyableBuilder<SetTokenVaultCmkRequest.Builder,SetTokenVaultCmkRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SetTokenVaultCmkRequest.Builder
kmsConfiguration
(Consumer<KmsConfiguration.Builder> kmsConfiguration) The KMS configuration for the token vault, including the key type and KMS key ARN.kmsConfiguration
(KmsConfiguration kmsConfiguration) The KMS configuration for the token vault, including the key type and KMS key ARN.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tokenVaultId
(String tokenVaultId) The unique identifier of the token vault to update.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
-
tokenVaultId
The unique identifier of the token vault to update.
- Parameters:
tokenVaultId
- The unique identifier of the token vault to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsConfiguration
The KMS configuration for the token vault, including the key type and KMS key ARN.
- Parameters:
kmsConfiguration
- The KMS configuration for the token vault, including the key type and KMS key ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsConfiguration
default SetTokenVaultCmkRequest.Builder kmsConfiguration(Consumer<KmsConfiguration.Builder> kmsConfiguration) The KMS configuration for the token vault, including the key type and KMS key ARN.
This is a convenience method that creates an instance of theKmsConfiguration.Builder
avoiding the need to create one manually viaKmsConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokmsConfiguration(KmsConfiguration)
.- Parameters:
kmsConfiguration
- a consumer that will call methods onKmsConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
SetTokenVaultCmkRequest.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
SetTokenVaultCmkRequest.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.
-