@@ -93,6 +93,7 @@ public class ZencoderOutput {
93
93
* S3
94
94
*/
95
95
private boolean isPublic = false ;
96
+ private String credentials ;
96
97
private List <ZencoderS3AccessControlItem > aclItems = new ArrayList <ZencoderS3AccessControlItem >();
97
98
private Map <String , String > headers = new HashMap <String , String >();
98
99
@@ -127,6 +128,7 @@ public Element createXML(Document document) {
127
128
createAndAppendElement ("start_clip" , this .startClip , root );
128
129
createAndAppendElement ("clip_length" , this .clipLength , root );
129
130
createAndAppendElement ("public" , this .isPublic , root );
131
+ createAndAppendElement ("credentials" , this .credentials , root );
130
132
131
133
createAndAppendElement ("video_codec" , this .videoCodec .name (), root );
132
134
createAndAppendElement ("width" , this .width , root );
@@ -386,6 +388,10 @@ public boolean isSkipAudio() {
386
388
public boolean isPublic () {
387
389
return isPublic ;
388
390
}
391
+
392
+ public String getCredentials () {
393
+ return credentials ;
394
+ }
389
395
390
396
/*
391
397
* ###### Setters #########
@@ -600,6 +606,10 @@ public void setThumbnail(ZencoderThumbnail thumbnail) {
600
606
public void setPublic (boolean isPublic ) {
601
607
this .isPublic = isPublic ;
602
608
}
609
+
610
+ public void setCredentials (String credentials ) {
611
+ this .credentials = credentials ;
612
+ }
603
613
604
614
public void addAcl (ZencoderS3AccessControlItem item ) {
605
615
this .aclItems .add (item );
0 commit comments