Class GeneratedKey.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • ciphertext

        public 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
      • plaintext

        public 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
      • plaintextChecksum

        public 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