
com.aliyun.ice20201109.models.SubmitDNAJobShrinkRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ice20201109.models;
import com.aliyun.tea.*;
public class SubmitDNAJobShrinkRequest extends TeaModel {
/**
* The configurations of the media fingerprint analysis job. The value is a JSON object. If you specify this parameter, the template parameters are overwritten.
*
* example:
* {"SaveType": "save","MediaType"":"video"}
*/
@NameInMap("Config")
public String config;
/**
* The ID of the media fingerprint library. If you do not specify this parameter, the default media fingerprint library is used. For more information about how to create a media fingerprint library, see CreateDNADB.
* This parameter is required.
*
* example:
* 2288c6ca184c0e47098a5b665e2a12****
*/
@NameInMap("DBId")
public String DBId;
/**
* The input file for media fingerprint analysis.
* This parameter is required.
*/
@NameInMap("Input")
public String inputShrink;
@NameInMap("OwnerAccount")
public String ownerAccount;
@NameInMap("OwnerId")
public Long ownerId;
/**
* The ID of the ApsaraVideo Media Processing (MPS) queue to which the media fingerprint analysis job is submitted.
*
* example:
* 5246b8d12a62433ab77845074039****
*/
@NameInMap("PipelineId")
public String pipelineId;
/**
* The primary key of the video. You must make sure that each primary key is unique.
* This parameter is required.
*
* example:
* 3ca84a39a9024f19853b21be9cf9****
*/
@NameInMap("PrimaryKey")
public String primaryKey;
@NameInMap("ResourceOwnerAccount")
public String resourceOwnerAccount;
@NameInMap("ResourceOwnerId")
public Long resourceOwnerId;
/**
* The template ID.
*
* example:
* S00000101-100060
*/
@NameInMap("TemplateId")
public String templateId;
/**
* The user-defined data. The data can be up to 128 bytes in length.
*
* example:
* userData
*/
@NameInMap("UserData")
public String userData;
public static SubmitDNAJobShrinkRequest build(java.util.Map map) throws Exception {
SubmitDNAJobShrinkRequest self = new SubmitDNAJobShrinkRequest();
return TeaModel.build(map, self);
}
public SubmitDNAJobShrinkRequest setConfig(String config) {
this.config = config;
return this;
}
public String getConfig() {
return this.config;
}
public SubmitDNAJobShrinkRequest setDBId(String DBId) {
this.DBId = DBId;
return this;
}
public String getDBId() {
return this.DBId;
}
public SubmitDNAJobShrinkRequest setInputShrink(String inputShrink) {
this.inputShrink = inputShrink;
return this;
}
public String getInputShrink() {
return this.inputShrink;
}
public SubmitDNAJobShrinkRequest setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
return this;
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public SubmitDNAJobShrinkRequest setOwnerId(Long ownerId) {
this.ownerId = ownerId;
return this;
}
public Long getOwnerId() {
return this.ownerId;
}
public SubmitDNAJobShrinkRequest setPipelineId(String pipelineId) {
this.pipelineId = pipelineId;
return this;
}
public String getPipelineId() {
return this.pipelineId;
}
public SubmitDNAJobShrinkRequest setPrimaryKey(String primaryKey) {
this.primaryKey = primaryKey;
return this;
}
public String getPrimaryKey() {
return this.primaryKey;
}
public SubmitDNAJobShrinkRequest setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public SubmitDNAJobShrinkRequest setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
return this;
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public SubmitDNAJobShrinkRequest setTemplateId(String templateId) {
this.templateId = templateId;
return this;
}
public String getTemplateId() {
return this.templateId;
}
public SubmitDNAJobShrinkRequest setUserData(String userData) {
this.userData = userData;
return this;
}
public String getUserData() {
return this.userData;
}
}