Class GeneratedKey.Builder
- java.lang.Object
- 
- com.oracle.bmc.keymanagement.model.GeneratedKey.Builder
 
- 
- Enclosing class:
- GeneratedKey
 
 public static class GeneratedKey.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GeneratedKeybuild()GeneratedKey.Builderciphertext(String ciphertext)The encrypted data encryption key generated from a master encryption key.GeneratedKey.Buildercopy(GeneratedKey model)GeneratedKey.Builderplaintext(String plaintext)The plaintext data encryption key, a base64-encoded sequence of random bytes, which is included if the GenerateDataEncryptionKey request includes the includePlaintextKey parameter and sets its value to “true”.GeneratedKey.BuilderplaintextChecksum(String plaintextChecksum)The checksum of the plaintext data encryption key, which is included if the GenerateDataEncryptionKey request includes the includePlaintextKey parameter and sets its value to “true”.
 
- 
- 
- 
Method Detail- 
ciphertextpublic GeneratedKey.Builder ciphertext(String ciphertext) The encrypted data encryption key generated from a master encryption key.- Parameters:
- ciphertext- the value to set
- Returns:
- this builder
 
 - 
plaintextpublic GeneratedKey.Builder plaintext(String plaintext) The plaintext data encryption key, a base64-encoded sequence of random bytes, which is included if the GenerateDataEncryptionKey request includes the includePlaintextKey parameter and sets its value to “true”.- Parameters:
- plaintext- the value to set
- Returns:
- this builder
 
 - 
plaintextChecksumpublic GeneratedKey.Builder plaintextChecksum(String plaintextChecksum) The checksum of the plaintext data encryption key, which is included if the GenerateDataEncryptionKey request includes the includePlaintextKey parameter and sets its value to “true”.- Parameters:
- plaintextChecksum- the value to set
- Returns:
- this builder
 
 - 
buildpublic GeneratedKey build() 
 - 
copypublic GeneratedKey.Builder copy(GeneratedKey model) 
 
- 
 
-