Interface ReEncryptResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ReEncryptResponse.Builder,
,ReEncryptResponse> KmsResponse.Builder
,SdkBuilder<ReEncryptResponse.Builder,
,ReEncryptResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ReEncryptResponse
public static interface ReEncryptResponse.Builder
extends KmsResponse.Builder, SdkPojo, CopyableBuilder<ReEncryptResponse.Builder,ReEncryptResponse>
-
Method Summary
Modifier and TypeMethodDescriptionciphertextBlob
(SdkBytes ciphertextBlob) The reencrypted data.destinationEncryptionAlgorithm
(String destinationEncryptionAlgorithm) The encryption algorithm that was used to reencrypt the data.destinationEncryptionAlgorithm
(EncryptionAlgorithmSpec destinationEncryptionAlgorithm) The encryption algorithm that was used to reencrypt the data.The Amazon Resource Name (key ARN) of the KMS key that was used to reencrypt the data.sourceEncryptionAlgorithm
(String sourceEncryptionAlgorithm) The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.sourceEncryptionAlgorithm
(EncryptionAlgorithmSpec sourceEncryptionAlgorithm) The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.sourceKeyId
(String sourceKeyId) Unique identifier of the KMS key used to originally encrypt the data.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kms.model.KmsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
ciphertextBlob
The reencrypted data. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
- Parameters:
ciphertextBlob
- The reencrypted data. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceKeyId
Unique identifier of the KMS key used to originally encrypt the data.
- Parameters:
sourceKeyId
- Unique identifier of the KMS key used to originally encrypt the data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyId
The Amazon Resource Name (key ARN) of the KMS key that was used to reencrypt the data.
- Parameters:
keyId
- The Amazon Resource Name (key ARN) of the KMS key that was used to reencrypt the data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceEncryptionAlgorithm
The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.
- Parameters:
sourceEncryptionAlgorithm
- The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceEncryptionAlgorithm
ReEncryptResponse.Builder sourceEncryptionAlgorithm(EncryptionAlgorithmSpec sourceEncryptionAlgorithm) The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.
- Parameters:
sourceEncryptionAlgorithm
- The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationEncryptionAlgorithm
The encryption algorithm that was used to reencrypt the data.
- Parameters:
destinationEncryptionAlgorithm
- The encryption algorithm that was used to reencrypt the data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationEncryptionAlgorithm
ReEncryptResponse.Builder destinationEncryptionAlgorithm(EncryptionAlgorithmSpec destinationEncryptionAlgorithm) The encryption algorithm that was used to reencrypt the data.
- Parameters:
destinationEncryptionAlgorithm
- The encryption algorithm that was used to reencrypt the data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-