All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.ice20201109.models.SubmitPackageJobRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ice20201109.models;

import com.aliyun.tea.*;

public class SubmitPackageJobRequest extends TeaModel {
    /**
     * 

This parameter is required.

*/ @NameInMap("Inputs") public java.util.List inputs; /** * example: *

job-name

*/ @NameInMap("Name") public String name; /** *

This parameter is required.

*/ @NameInMap("Output") public SubmitPackageJobRequestOutput output; @NameInMap("ScheduleConfig") public SubmitPackageJobRequestScheduleConfig scheduleConfig; /** * example: *

{"param": "value"}

*/ @NameInMap("UserData") public String userData; public static SubmitPackageJobRequest build(java.util.Map map) throws Exception { SubmitPackageJobRequest self = new SubmitPackageJobRequest(); return TeaModel.build(map, self); } public SubmitPackageJobRequest setInputs(java.util.List inputs) { this.inputs = inputs; return this; } public java.util.List getInputs() { return this.inputs; } public SubmitPackageJobRequest setName(String name) { this.name = name; return this; } public String getName() { return this.name; } public SubmitPackageJobRequest setOutput(SubmitPackageJobRequestOutput output) { this.output = output; return this; } public SubmitPackageJobRequestOutput getOutput() { return this.output; } public SubmitPackageJobRequest setScheduleConfig(SubmitPackageJobRequestScheduleConfig scheduleConfig) { this.scheduleConfig = scheduleConfig; return this; } public SubmitPackageJobRequestScheduleConfig getScheduleConfig() { return this.scheduleConfig; } public SubmitPackageJobRequest setUserData(String userData) { this.userData = userData; return this; } public String getUserData() { return this.userData; } public static class SubmitPackageJobRequestInputsInput extends TeaModel { /** *

This parameter is required.

* * example: *

oss://bucket/path/to/video.mp4

*/ @NameInMap("Media") public String media; /** *

This parameter is required.

* * example: *

OSS

*/ @NameInMap("Type") public String type; public static SubmitPackageJobRequestInputsInput build(java.util.Map map) throws Exception { SubmitPackageJobRequestInputsInput self = new SubmitPackageJobRequestInputsInput(); return TeaModel.build(map, self); } public SubmitPackageJobRequestInputsInput setMedia(String media) { this.media = media; return this; } public String getMedia() { return this.media; } public SubmitPackageJobRequestInputsInput setType(String type) { this.type = type; return this; } public String getType() { return this.type; } } public static class SubmitPackageJobRequestInputs extends TeaModel { /** *

This parameter is required.

*/ @NameInMap("Input") public SubmitPackageJobRequestInputsInput input; public static SubmitPackageJobRequestInputs build(java.util.Map map) throws Exception { SubmitPackageJobRequestInputs self = new SubmitPackageJobRequestInputs(); return TeaModel.build(map, self); } public SubmitPackageJobRequestInputs setInput(SubmitPackageJobRequestInputsInput input) { this.input = input; return this; } public SubmitPackageJobRequestInputsInput getInput() { return this.input; } } public static class SubmitPackageJobRequestOutput extends TeaModel { /** *

This parameter is required.

* * example: *

oss://bucket/path/to/video.mp4

*/ @NameInMap("Media") public String media; /** *

This parameter is required.

* * example: *

OSS

*/ @NameInMap("Type") public String type; public static SubmitPackageJobRequestOutput build(java.util.Map map) throws Exception { SubmitPackageJobRequestOutput self = new SubmitPackageJobRequestOutput(); return TeaModel.build(map, self); } public SubmitPackageJobRequestOutput setMedia(String media) { this.media = media; return this; } public String getMedia() { return this.media; } public SubmitPackageJobRequestOutput setType(String type) { this.type = type; return this; } public String getType() { return this.type; } } public static class SubmitPackageJobRequestScheduleConfig extends TeaModel { /** * example: *

e37ebee5d98b4781897f6086e89f9c56

*/ @NameInMap("PipelineId") public String pipelineId; /** * example: *

5

*/ @NameInMap("Priority") public Integer priority; public static SubmitPackageJobRequestScheduleConfig build(java.util.Map map) throws Exception { SubmitPackageJobRequestScheduleConfig self = new SubmitPackageJobRequestScheduleConfig(); return TeaModel.build(map, self); } public SubmitPackageJobRequestScheduleConfig setPipelineId(String pipelineId) { this.pipelineId = pipelineId; return this; } public String getPipelineId() { return this.pipelineId; } public SubmitPackageJobRequestScheduleConfig setPriority(Integer priority) { this.priority = priority; return this; } public Integer getPriority() { return this.priority; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy