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.BuilderkmsConfiguration(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
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
-
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.Builderavoiding the need to create one manually viaKmsConfiguration.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-