Interface EncryptResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<EncryptResponse.Builder,
,EncryptResponse> KmsResponse.Builder
,SdkBuilder<EncryptResponse.Builder,
,EncryptResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
EncryptResponse
public static interface EncryptResponse.Builder
extends KmsResponse.Builder, SdkPojo, CopyableBuilder<EncryptResponse.Builder,EncryptResponse>
-
Method Summary
Modifier and TypeMethodDescriptionciphertextBlob
(SdkBytes ciphertextBlob) The encrypted plaintext.encryptionAlgorithm
(String encryptionAlgorithm) The encryption algorithm that was used to encrypt the plaintext.encryptionAlgorithm
(EncryptionAlgorithmSpec encryptionAlgorithm) The encryption algorithm that was used to encrypt the plaintext.The Amazon Resource Name (key ARN) of the KMS key that was used to encrypt the plaintext.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 encrypted plaintext. 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 encrypted plaintext. 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.
-
keyId
The Amazon Resource Name (key ARN) of the KMS key that was used to encrypt the plaintext.
- Parameters:
keyId
- The Amazon Resource Name (key ARN) of the KMS key that was used to encrypt the plaintext.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionAlgorithm
The encryption algorithm that was used to encrypt the plaintext.
- Parameters:
encryptionAlgorithm
- The encryption algorithm that was used to encrypt the plaintext.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionAlgorithm
The encryption algorithm that was used to encrypt the plaintext.
- Parameters:
encryptionAlgorithm
- The encryption algorithm that was used to encrypt the plaintext.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-