Skip to content

Commit b752ff2

Browse files
committed
Added support for credentials field to output
1 parent 7c24c02 commit b752ff2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/main/java/de/bitzeche/video/transcoding/zencoder/job/ZencoderOutput.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ public class ZencoderOutput {
9393
* S3
9494
*/
9595
private boolean isPublic = false;
96+
private String credentials;
9697
private List<ZencoderS3AccessControlItem> aclItems = new ArrayList<ZencoderS3AccessControlItem>();
9798
private Map<String, String> headers = new HashMap<String, String>();
9899

@@ -127,6 +128,7 @@ public Element createXML(Document document) {
127128
createAndAppendElement("start_clip", this.startClip, root);
128129
createAndAppendElement("clip_length", this.clipLength, root);
129130
createAndAppendElement("public", this.isPublic, root);
131+
createAndAppendElement("credentials", this.credentials, root);
130132

131133
createAndAppendElement("video_codec", this.videoCodec.name(), root);
132134
createAndAppendElement("width", this.width, root);
@@ -386,6 +388,10 @@ public boolean isSkipAudio() {
386388
public boolean isPublic() {
387389
return isPublic;
388390
}
391+
392+
public String getCredentials() {
393+
return credentials;
394+
}
389395

390396
/*
391397
* ###### Setters #########
@@ -600,6 +606,10 @@ public void setThumbnail(ZencoderThumbnail thumbnail) {
600606
public void setPublic(boolean isPublic) {
601607
this.isPublic = isPublic;
602608
}
609+
610+
public void setCredentials(String credentials) {
611+
this.credentials = credentials;
612+
}
603613

604614
public void addAcl(ZencoderS3AccessControlItem item) {
605615
this.aclItems.add(item);

0 commit comments

Comments
 (0)