ciphertext that contains the encrypted data key . you must store the blob and enough information to reconstruct the encryption context so that the data encrypted by using the key can later be decrypted . you must provide both the ciphertext blob and the encryption context to the decrypt api to recover the plaintext data key and decrypt the object . if you are using the cli , the value is base64 encoded . otherwise , it is not encoded . concode_field_sep java.nio.ByteBuffer ciphertextBlob concode_elem_sep String keyId concode_elem_sep java.nio.ByteBuffer plaintext concode_field_sep GenerateDataKeyResult withKeyId concode_elem_sep String getKeyId concode_elem_sep int hashCode concode_elem_sep void setKeyId concode_elem_sep boolean equals concode_elem_sep GenerateDataKeyResult clone concode_elem_sep GenerateDataKeyResult withPlaintext concode_elem_sep String toString concode_elem_sep void setPlaintext concode_elem_sep java.nio.ByteBuffer getPlaintext concode_elem_sep void setCiphertextBlob concode_elem_sep java.nio.ByteBuffer getCiphertextBlob
GenerateDataKeyResult function ( java . nio . ByteBuffer arg0 ) { setCiphertextBlob ( arg0 ) ; return this ; }