Class ReEncryptInstructionFileResponse


  • public class ReEncryptInstructionFileResponse
    extends Object
    Response object returned after re-encrypting an instruction file in S3. Contains the S3 bucket name, object key, instruction file suffix, and rotation enforcement status for the re-encrypted instruction file
    • Constructor Detail

      • ReEncryptInstructionFileResponse

        public ReEncryptInstructionFileResponse​(String bucket,
                                                String key,
                                                String instructionFileSuffix,
                                                boolean enforceRotation)
        Creates a new ReEncryptInstructionFileResponse object with the specified parameters.
        Parameters:
        bucket - the S3 bucket containing the re-encrypted instruction file
        key - the S3 object key of the encrypted object in S3
        instructionFileSuffix - the suffix used for the instruction file
        enforceRotation - whether rotation was enforced for the re-encrypted instruction file
    • Method Detail

      • bucket

        public String bucket()
        Returns:
        the S3 bucket containing the re-encrypted instruction file
      • key

        public String key()
        Returns:
        the S3 object key of the encrypted object in S3
      • enforceRotation

        public boolean enforceRotation()
        Returns:
        whether rotation was enforced for the re-encrypted instruction file
      • instructionFileSuffix

        public String instructionFileSuffix()
        Returns:
        the instruction file suffix used for the instruction file