Skip to content

Commit effe9bb

Browse files
author
Anirav Kareddy
committed
Added the ReEncryptInstructionFileResponse class
1 parent cc6e593 commit effe9bb

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
package software.amazon.encryption.s3.internal;
2+
3+
/** Response object for re-encrypting instruction files.
4+
* Contains the bucket, key, and instruction file suffix of the re-encrypted instruction file in S3.
5+
*/
6+
7+
public class ReEncryptInstructionFileResponse {
8+
private final String bucket;
9+
private final String key;
10+
private final String instructionFileSuffix;
11+
12+
public ReEncryptInstructionFileResponse(String bucket, String key, String instructionFileSuffix) {
13+
this.bucket = bucket;
14+
this.key = key;
15+
this.instructionFileSuffix = instructionFileSuffix;
16+
}
17+
public String Bucket() {
18+
return bucket;
19+
}
20+
public String Key() {
21+
return key;
22+
}
23+
public String InstructionFileSuffix() {
24+
return instructionFileSuffix;
25+
}
26+
}
27+

0 commit comments

Comments
 (0)