TranscodeJobProps
Properties for defining a TranscodeJob.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mps-transcodejob
Initializer
import com.aliyun.ros.cdk.mps.TranscodeJobProps;
TranscodeJobProps.builder()
.input(IResolvable)
.input(java.util.Map<java.lang.String, java.lang.Object>)
.outputBucket(java.lang.String)
.outputBucket(IResolvable)
.outputs(IResolvable)
.outputs(java.util.List<java.util.Map<java.lang.String, java.lang.Object>>)
.pipelineId(java.lang.String)
.pipelineId(IResolvable)
// .outputLocation(java.lang.String)
// .outputLocation(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
input | com.aliyun.ros.cdk.core.IResolvable OR java.util.Map | Property input: Job input. |
outputBucket | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property outputBucket: The name of the OSS bucket where the output files are stored. |
outputs | com.aliyun.ros.cdk.core.IResolvable OR java.util.List | Property outputs: The output configuration of the job. |
pipelineId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property pipelineId: The ID of the pipeline. |
outputLocation | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property outputLocation: The OSS region (OSS Region) where the output bucket resides. |
inputRequired
public java.lang.Object getInput();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map
Property input: Job input.
- In ApsaraVideo Media Processing APIs, the Object value must be URL-encoded using UTF-8 encoding.
- The OSS region must match the region where MPS is deployed.
outputBucketRequired
public java.lang.Object getOutputBucket();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property outputBucket: The name of the OSS bucket where the output files are stored.
outputsRequired
public java.lang.Object getOutputs();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
>
Property outputs: The output configuration of the job.
Consists of a list of Output objects, JSON array, with a maximum size of 30.
pipelineIdRequired
public java.lang.Object getPipelineId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property pipelineId: The ID of the pipeline.
outputLocationOptional
public java.lang.Object getOutputLocation();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property outputLocation: The OSS region (OSS Region) where the output bucket resides.
- The OSS bucket must be in the same region as the ApsaraVideo Media Processing service.
- Follows the OSS bucket definition.