
com.aliyun.ice20201109.models.SubmitLiveTranscodeJobShrinkRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ice20201109.models;
import com.aliyun.tea.*;
public class SubmitLiveTranscodeJobShrinkRequest extends TeaModel {
/**
* The name of the transcoding job.
* This parameter is required.
*
* example:
* task1
*/
@NameInMap("Name")
public String name;
/**
* The start mode of the transcoding job.
*
* - 0: The transcoding job immediately starts.
* - 1: The transcoding job starts at the scheduled time.
*
* This parameter is required.
*
* example:
* 0
*/
@NameInMap("StartMode")
public Integer startMode;
/**
* The information about the input stream.
* This parameter is required.
*/
@NameInMap("StreamInput")
public String streamInputShrink;
/**
* The template ID.
* This parameter is required.
*
* example:
* 96e8864746a0b6f3
*/
@NameInMap("TemplateId")
public String templateId;
/**
* The configuration of a timed transcoding job. This parameter is required if you set StartMode to 1.
*/
@NameInMap("TimedConfig")
public String timedConfigShrink;
/**
* The information about the transcoding output.
* This parameter is required.
*/
@NameInMap("TranscodeOutput")
public String transcodeOutputShrink;
public static SubmitLiveTranscodeJobShrinkRequest build(java.util.Map map) throws Exception {
SubmitLiveTranscodeJobShrinkRequest self = new SubmitLiveTranscodeJobShrinkRequest();
return TeaModel.build(map, self);
}
public SubmitLiveTranscodeJobShrinkRequest setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public SubmitLiveTranscodeJobShrinkRequest setStartMode(Integer startMode) {
this.startMode = startMode;
return this;
}
public Integer getStartMode() {
return this.startMode;
}
public SubmitLiveTranscodeJobShrinkRequest setStreamInputShrink(String streamInputShrink) {
this.streamInputShrink = streamInputShrink;
return this;
}
public String getStreamInputShrink() {
return this.streamInputShrink;
}
public SubmitLiveTranscodeJobShrinkRequest setTemplateId(String templateId) {
this.templateId = templateId;
return this;
}
public String getTemplateId() {
return this.templateId;
}
public SubmitLiveTranscodeJobShrinkRequest setTimedConfigShrink(String timedConfigShrink) {
this.timedConfigShrink = timedConfigShrink;
return this;
}
public String getTimedConfigShrink() {
return this.timedConfigShrink;
}
public SubmitLiveTranscodeJobShrinkRequest setTranscodeOutputShrink(String transcodeOutputShrink) {
this.transcodeOutputShrink = transcodeOutputShrink;
return this;
}
public String getTranscodeOutputShrink() {
return this.transcodeOutputShrink;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy