Interface ResetTokenVaultKeyMaterialResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreControlResponse.Builder,Buildable,CopyableBuilder<ResetTokenVaultKeyMaterialResponse.Builder,,ResetTokenVaultKeyMaterialResponse> SdkBuilder<ResetTokenVaultKeyMaterialResponse.Builder,,ResetTokenVaultKeyMaterialResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ResetTokenVaultKeyMaterialResponse
@Mutable
@NotThreadSafe
public static interface ResetTokenVaultKeyMaterialResponse.Builder
extends BedrockAgentCoreControlResponse.Builder, SdkPojo, CopyableBuilder<ResetTokenVaultKeyMaterialResponse.Builder,ResetTokenVaultKeyMaterialResponse>
-
Method Summary
Modifier and TypeMethodDescriptionkmsConfiguration(Consumer<KmsConfiguration.Builder> kmsConfiguration) The KMS configuration for the token vault after the reset.kmsConfiguration(KmsConfiguration kmsConfiguration) The KMS configuration for the token vault after the reset.lastModifiedDate(Instant lastModifiedDate) The timestamp when the token vault was last modified.tokenVaultId(String tokenVaultId) The ID of the token vault.Methods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
tokenVaultId
The ID of the token vault.
- Parameters:
tokenVaultId- The ID of the token vault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsConfiguration
The KMS configuration for the token vault after the reset. The token vault uses an Amazon Web Services managed key.
- Parameters:
kmsConfiguration- The KMS configuration for the token vault after the reset. The token vault uses an Amazon Web Services managed key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsConfiguration
default ResetTokenVaultKeyMaterialResponse.Builder kmsConfiguration(Consumer<KmsConfiguration.Builder> kmsConfiguration) The KMS configuration for the token vault after the reset. The token vault uses an Amazon Web Services managed key.
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:
-
lastModifiedDate
The timestamp when the token vault was last modified.
- Parameters:
lastModifiedDate- The timestamp when the token vault was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-