Class ReEncryptInstructionFileRequest
- java.lang.Object
- 
- software.amazon.encryption.s3.internal.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.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classReEncryptInstructionFileRequest.BuilderBuilder for ReEncryptInstructionFileRequest.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringbucket()static ReEncryptInstructionFileRequest.Builderbuilder()Creates a builder that can be used to configure and create aReEncryptInstructionFileRequestbooleanenforceRotation()StringinstructionFileSuffix()Stringkey()RawKeyringnewKeyring()
 
- 
- 
- 
Method Detail- 
bucketpublic String bucket() - Returns:
- the S3 bucket name that contains the encrypted object and instruction file to re-encrypt
 
 - 
keypublic String key() - Returns:
- the S3 object key of the encrypted object whose instruction file will be re-encrypted
 
 - 
newKeyringpublic RawKeyring newKeyring() - Returns:
- the new keyring (AES or RSA) that will be used to re-encrypt the instruction file
 
 - 
instructionFileSuffixpublic String instructionFileSuffix() - Returns:
- the suffix to use for the instruction file. The default instruction file suffix is ".instruction"
 
 - 
enforceRotationpublic boolean enforceRotation() - Returns:
- whether to enforce rotation for the re-encrypted instruction file
 
 - 
builderpublic static ReEncryptInstructionFileRequest.Builder builder() Creates a builder that can be used to configure and create aReEncryptInstructionFileRequest- Returns:
- a new builder
 
 
- 
 
-