public class TranscodeTaskInput extends AbstractModel
Constructor and Description |
---|
TranscodeTaskInput() |
Modifier and Type | Method and Description |
---|---|
Long |
getDefinition()
Get ID of a video transcoding template.
|
MosaicInput[] |
getMosaicSet()
Get
|
NumberFormat |
getObjectNumberFormat()
Get Rule of the `{number}` variable in the output path after transcoding.
|
String |
getOutputObjectPath()
Get Path to a primary output file, which can be a relative path or an absolute path.
|
TaskOutputStorage |
getOutputStorage()
Get Target bucket of an output file.
|
RawTranscodeParameter |
getRawParameter()
Get
|
String |
getSegmentObjectName()
Get Path to an output file part (the path to ts during transcoding to HLS), which can only be a relative path.
|
WatermarkInput[] |
getWatermarkSet()
Get List of up to 10 image or text watermarks.
|
void |
setDefinition(Long Definition)
Set ID of a video transcoding template.
|
void |
setMosaicSet(MosaicInput[] MosaicSet)
Set
|
void |
setObjectNumberFormat(NumberFormat ObjectNumberFormat)
Set Rule of the `{number}` variable in the output path after transcoding.
|
void |
setOutputObjectPath(String OutputObjectPath)
Set Path to a primary output file, which can be a relative path or an absolute path.
|
void |
setOutputStorage(TaskOutputStorage OutputStorage)
Set Target bucket of an output file.
|
void |
setRawParameter(RawTranscodeParameter RawParameter)
Set
|
void |
setSegmentObjectName(String SegmentObjectName)
Set Path to an output file part (the path to ts during transcoding to HLS), which can only be a relative path.
|
void |
setWatermarkSet(WatermarkInput[] WatermarkSet)
Set List of up to 10 image or text watermarks.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Long getDefinition()
public void setDefinition(Long Definition)
Definition
- ID of a video transcoding template.public RawTranscodeParameter getRawParameter()
public void setRawParameter(RawTranscodeParameter RawParameter)
RawParameter
- public WatermarkInput[] getWatermarkSet()
public void setWatermarkSet(WatermarkInput[] WatermarkSet)
WatermarkSet
- List of up to 10 image or text watermarks.
Note: This field may return null, indicating that no valid values can be obtained.public MosaicInput[] getMosaicSet()
public void setMosaicSet(MosaicInput[] MosaicSet)
MosaicSet
- public TaskOutputStorage getOutputStorage()
public void setOutputStorage(TaskOutputStorage OutputStorage)
OutputStorage
- Target bucket of an output file. If this parameter is left empty, the `OutputStorage` value of the upper folder will be inherited.
Note: This field may return null, indicating that no valid values can be obtained.public String getOutputObjectPath()
public void setOutputObjectPath(String OutputObjectPath)
OutputObjectPath
- Path to a primary output file, which can be a relative path or an absolute path. If this parameter is left empty, the following relative path will be used by default: `{inputName}_transcode_{definition}.{format}`.public String getSegmentObjectName()
public void setSegmentObjectName(String SegmentObjectName)
SegmentObjectName
- Path to an output file part (the path to ts during transcoding to HLS), which can only be a relative path. If this parameter is left empty, the following relative path will be used by default: `{inputName}_transcode_{definition}_{number}.{format}`.public NumberFormat getObjectNumberFormat()
public void setObjectNumberFormat(NumberFormat ObjectNumberFormat)
ObjectNumberFormat
- Rule of the `{number}` variable in the output path after transcoding.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2020. All rights reserved.