Class ReEncryptInstructionFileResponse
- java.lang.Object
-
- software.amazon.encryption.s3.internal.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 Summary
Constructors Constructor Description ReEncryptInstructionFileResponse(String bucket, String key, String instructionFileSuffix, boolean enforceRotation)
Creates a new ReEncryptInstructionFileResponse object with the specified parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
bucket()
boolean
enforceRotation()
String
instructionFileSuffix()
String
key()
-
-
-
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 filekey
- the S3 object key of the encrypted object in S3instructionFileSuffix
- the suffix used for the instruction fileenforceRotation
- 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
-
-