Class ReEncryptInstructionFileRequest


  • public class ReEncryptInstructionFileRequest
    extends Object
    Request object for re-encrypting instruction files in S3. This request supports re-encryption operations using either AES or RSA keyrings. For AES keyrings, only the default instruction file suffix is supported. For RSA keyrings, both the default and custom instruction file suffixes are supported.
    • Method Detail

      • bucket

        public String bucket()
        Returns:
        the S3 bucket name that contains the encrypted object and instruction file to re-encrypt
      • key

        public String key()
        Returns:
        the S3 object key of the encrypted object whose instruction file will be re-encrypted
      • newKeyring

        public RawKeyring newKeyring()
        Returns:
        the new keyring (AES or RSA) that will be used to re-encrypt the instruction file
      • instructionFileSuffix

        public String instructionFileSuffix()
        Returns:
        the suffix to use for the instruction file. The default instruction file suffix is ".instruction"
      • enforceRotation

        public boolean enforceRotation()
        Returns:
        whether to enforce rotation for the re-encrypted instruction file