public class AddTranscodeTemplateGroupRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
appId
The application ID.
|
String |
name
The name of the transcoding template group.
|
String |
transcodeTemplateGroupId
The ID of the transcoding template group.
|
String |
transcodeTemplateList
The configurations of the transcoding template.
|
| 构造器和说明 |
|---|
AddTranscodeTemplateGroupRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static AddTranscodeTemplateGroupRequest |
build(Map<String,?> map) |
String |
getAppId() |
String |
getName() |
String |
getTranscodeTemplateGroupId() |
String |
getTranscodeTemplateList() |
AddTranscodeTemplateGroupRequest |
setAppId(String appId) |
AddTranscodeTemplateGroupRequest |
setName(String name) |
AddTranscodeTemplateGroupRequest |
setTranscodeTemplateGroupId(String transcodeTemplateGroupId) |
AddTranscodeTemplateGroupRequest |
setTranscodeTemplateList(String transcodeTemplateList) |
@NameInMap(value="AppId") public String appId
The application ID. Default value: **app-1000000**. For more information, see [Use the multi-application service](~~113600~~).
@NameInMap(value="Name") public String name
The name of the transcoding template group.
* The name can be up to 128 bytes in length.
* The value must be encoded in UTF-8.
> You must specify TranscodeTemplateGroupId or Name in the request.
@NameInMap(value="TranscodeTemplateGroupId") public String transcodeTemplateGroupId
The ID of the transcoding template group. If a transcoding template group ID is specified, you can add transcoding templates to the template group.
> You must specify TranscodeTemplateGroupId or Name in the request.
@NameInMap(value="TranscodeTemplateList") public String transcodeTemplateList
The configurations of the transcoding template. The value is a string in JSON format. For more information about the data structure, see [TranscodeTemplate](~~52839~~).
> * If you do not specify this parameter, the transcoding job cannot be automatically created after you upload a video.
> * If you do not need to set Width or Height, do not specify the corresponding parameter. You cannot set the value to an empty string, such as "Height":"".
public static AddTranscodeTemplateGroupRequest build(Map<String,?> map) throws Exception
Exceptionpublic AddTranscodeTemplateGroupRequest setAppId(String appId)
public String getAppId()
public AddTranscodeTemplateGroupRequest setName(String name)
public String getName()
public AddTranscodeTemplateGroupRequest setTranscodeTemplateGroupId(String transcodeTemplateGroupId)
public String getTranscodeTemplateGroupId()
public AddTranscodeTemplateGroupRequest setTranscodeTemplateList(String transcodeTemplateList)
public String getTranscodeTemplateList()
Copyright © 2024. All rights reserved.