Interface DecapsulateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DecapsulateResponse.Builder,,DecapsulateResponse> KmsResponse.Builder,SdkBuilder<DecapsulateResponse.Builder,,DecapsulateResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DecapsulateResponse
@Mutable
@NotThreadSafe
public static interface DecapsulateResponse.Builder
extends KmsResponse.Builder, SdkPojo, CopyableBuilder<DecapsulateResponse.Builder,DecapsulateResponse>
-
Method Summary
Modifier and TypeMethodDescriptionencapsulationAlgorithm(String encapsulationAlgorithm) The key encapsulation algorithm used to recover the shared secret.encapsulationAlgorithm(EncapsulationAlgorithmSpec encapsulationAlgorithm) The key encapsulation algorithm used to recover the shared secret.The identifier of the ML-KEM KMS key used to decapsulate the shared secret.sharedSecret(SdkBytes sharedSecret) The plaintext shared secret recovered from the encapsulated form.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kms.model.KmsResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
keyId
The identifier of the ML-KEM KMS key used to decapsulate the shared secret.
- Parameters:
keyId- The identifier of the ML-KEM KMS key used to decapsulate the shared secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encapsulationAlgorithm
The key encapsulation algorithm used to recover the shared secret.
- Parameters:
encapsulationAlgorithm- The key encapsulation algorithm used to recover the shared secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encapsulationAlgorithm
DecapsulateResponse.Builder encapsulationAlgorithm(EncapsulationAlgorithmSpec encapsulationAlgorithm) The key encapsulation algorithm used to recover the shared secret.
- Parameters:
encapsulationAlgorithm- The key encapsulation algorithm used to recover the shared secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-