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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EncryptResponse.BuilderciphertextBlob(SdkBytes ciphertextBlob)The encrypted plaintext.EncryptResponse.BuilderencryptionAlgorithm(String encryptionAlgorithm)The encryption algorithm that was used to encrypt the plaintext.EncryptResponse.BuilderencryptionAlgorithm(EncryptionAlgorithmSpec encryptionAlgorithm)The encryption algorithm that was used to encrypt the plaintext.EncryptResponse.BuilderkeyId(String keyId)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 Detail
-
ciphertextBlob
EncryptResponse.Builder ciphertextBlob(SdkBytes 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
EncryptResponse.Builder keyId(String 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
EncryptResponse.Builder encryptionAlgorithm(String 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:
EncryptionAlgorithmSpec,EncryptionAlgorithmSpec
-
encryptionAlgorithm
EncryptResponse.Builder encryptionAlgorithm(EncryptionAlgorithmSpec 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:
EncryptionAlgorithmSpec,EncryptionAlgorithmSpec
-
-