Class DecryptedData.Builder
- java.lang.Object
- 
- com.oracle.bmc.keymanagement.model.DecryptedData.Builder
 
- 
- Enclosing class:
- DecryptedData
 
 public static class DecryptedData.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DecryptedDatabuild()DecryptedData.Buildercopy(DecryptedData model)DecryptedData.BuilderencryptionAlgorithm(DecryptedData.EncryptionAlgorithm encryptionAlgorithm)The encryption algorithm to use to encrypt and decrypt data with a customer-managed key AES_256_GCM indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM).DecryptedData.BuilderkeyId(String keyId)The OCID of the key used to encrypt the ciphertext.DecryptedData.BuilderkeyVersionId(String keyVersionId)The OCID of the key version used to encrypt the ciphertext.DecryptedData.Builderplaintext(String plaintext)The decrypted data, expressed as a base64-encoded value.DecryptedData.BuilderplaintextChecksum(String plaintextChecksum)The checksum of the decrypted data.
 
- 
- 
- 
Method Detail- 
plaintextpublic DecryptedData.Builder plaintext(String plaintext) The decrypted data, expressed as a base64-encoded value.- Parameters:
- plaintext- the value to set
- Returns:
- this builder
 
 - 
plaintextChecksumpublic DecryptedData.Builder plaintextChecksum(String plaintextChecksum) The checksum of the decrypted data.- Parameters:
- plaintextChecksum- the value to set
- Returns:
- this builder
 
 - 
keyIdpublic DecryptedData.Builder keyId(String keyId) The OCID of the key used to encrypt the ciphertext.- Parameters:
- keyId- the value to set
- Returns:
- this builder
 
 - 
keyVersionIdpublic DecryptedData.Builder keyVersionId(String keyVersionId) The OCID of the key version used to encrypt the ciphertext.- Parameters:
- keyVersionId- the value to set
- Returns:
- this builder
 
 - 
encryptionAlgorithmpublic DecryptedData.Builder encryptionAlgorithm(DecryptedData.EncryptionAlgorithm encryptionAlgorithm) The encryption algorithm to use to encrypt and decrypt data with a customer-managed key AES_256_GCM indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM).RSA_OAEP_SHA_1 indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). RSA_OAEP_SHA_256 indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. - Parameters:
- encryptionAlgorithm- the value to set
- Returns:
- this builder
 
 - 
buildpublic DecryptedData build() 
 - 
copypublic DecryptedData.Builder copy(DecryptedData model) 
 
- 
 
-