Interface GetTokenVaultResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreControlResponse.Builder,Buildable,CopyableBuilder<GetTokenVaultResponse.Builder,,GetTokenVaultResponse> SdkBuilder<GetTokenVaultResponse.Builder,,GetTokenVaultResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetTokenVaultResponse
@Mutable
@NotThreadSafe
public static interface GetTokenVaultResponse.Builder
extends BedrockAgentCoreControlResponse.Builder, SdkPojo, CopyableBuilder<GetTokenVaultResponse.Builder,GetTokenVaultResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetTokenVaultResponse.BuilderkmsConfiguration(Consumer<KmsConfiguration.Builder> kmsConfiguration) The KMS configuration for the token vault.kmsConfiguration(KmsConfiguration kmsConfiguration) The KMS configuration for the token vault.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.
- Parameters:
kmsConfiguration- The KMS configuration for the token vault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsConfiguration
default GetTokenVaultResponse.Builder kmsConfiguration(Consumer<KmsConfiguration.Builder> kmsConfiguration) The KMS configuration for the token vault.
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.
-