Interface ReEncryptResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ReEncryptResponse.Builder,
,ReEncryptResponse> KmsResponse.Builder
,SdkBuilder<ReEncryptResponse.Builder,
,ReEncryptResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
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.destinationKeyMaterialId
(String destinationKeyMaterialId) The identifier of the key material 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.sourceKeyMaterialId
(String sourceKeyMaterialId) The identifier of the key material 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, sdkFieldNameToField, 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
-
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:
-
sourceKeyMaterialId
The identifier of the key material used to originally encrypt the data. This field is present only when the original encryption used a symmetric encryption KMS key.
- Parameters:
sourceKeyMaterialId
- The identifier of the key material used to originally encrypt the data. This field is present only when the original encryption used a symmetric encryption KMS key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationKeyMaterialId
The identifier of the key material used to reencrypt the data. This field is present only when data is reencrypted using a symmetric encryption KMS key.
- Parameters:
destinationKeyMaterialId
- The identifier of the key material used to reencrypt the data. This field is present only when data is reencrypted using a symmetric encryption KMS key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-