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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReEncryptResponse.Builder
ciphertextBlob(SdkBytes ciphertextBlob)
The reencrypted data.ReEncryptResponse.Builder
destinationEncryptionAlgorithm(String destinationEncryptionAlgorithm)
The encryption algorithm that was used to reencrypt the data.ReEncryptResponse.Builder
destinationEncryptionAlgorithm(EncryptionAlgorithmSpec destinationEncryptionAlgorithm)
The encryption algorithm that was used to reencrypt the data.ReEncryptResponse.Builder
keyId(String keyId)
The Amazon Resource Name (key ARN) of the KMS key that was used to reencrypt the data.ReEncryptResponse.Builder
sourceEncryptionAlgorithm(String sourceEncryptionAlgorithm)
The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.ReEncryptResponse.Builder
sourceEncryptionAlgorithm(EncryptionAlgorithmSpec sourceEncryptionAlgorithm)
The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.ReEncryptResponse.Builder
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
ciphertextBlob
ReEncryptResponse.Builder ciphertextBlob(SdkBytes 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
ReEncryptResponse.Builder sourceKeyId(String 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
ReEncryptResponse.Builder keyId(String 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
ReEncryptResponse.Builder sourceEncryptionAlgorithm(String 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:
EncryptionAlgorithmSpec
,EncryptionAlgorithmSpec
-
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:
EncryptionAlgorithmSpec
,EncryptionAlgorithmSpec
-
destinationEncryptionAlgorithm
ReEncryptResponse.Builder destinationEncryptionAlgorithm(String 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:
EncryptionAlgorithmSpec
,EncryptionAlgorithmSpec
-
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:
EncryptionAlgorithmSpec
,EncryptionAlgorithmSpec
-
-