
com.aliyun.ice20201109.models.CreateCustomizedVoiceJobRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ice20201109.models;
import com.aliyun.tea.*;
public class CreateCustomizedVoiceJobRequest extends TeaModel {
/**
* The gender. Valid values:
*
* - female
* - male
*
* This parameter is required.
*
* example:
* female
*/
@NameInMap("Gender")
public String gender;
/**
* The scenario. Valid values:
*
* - story
* - interaction
* - navigation
*
* This parameter is required.
*
* example:
* story
*/
@NameInMap("Scenario")
public String scenario;
/**
* The voice description.
*
* - The description can be up to 256 characters in length.
*
*/
@NameInMap("VoiceDesc")
public String voiceDesc;
/**
* The voice ID. It can be the English name or Chinese Pinyin of the voice.
*
* - The value must be a unique ID that is not used by other custom voices.
* - The ID can be up to 32 characters in length.
* - Only letters and digits are supported.
*
* This parameter is required.
*
* example:
* xiaozhuan
*/
@NameInMap("VoiceId")
public String voiceId;
/**
* The voice name.
*
* - The name can be up to 32 characters in length.
*
*/
@NameInMap("VoiceName")
public String voiceName;
public static CreateCustomizedVoiceJobRequest build(java.util.Map map) throws Exception {
CreateCustomizedVoiceJobRequest self = new CreateCustomizedVoiceJobRequest();
return TeaModel.build(map, self);
}
public CreateCustomizedVoiceJobRequest setGender(String gender) {
this.gender = gender;
return this;
}
public String getGender() {
return this.gender;
}
public CreateCustomizedVoiceJobRequest setScenario(String scenario) {
this.scenario = scenario;
return this;
}
public String getScenario() {
return this.scenario;
}
public CreateCustomizedVoiceJobRequest setVoiceDesc(String voiceDesc) {
this.voiceDesc = voiceDesc;
return this;
}
public String getVoiceDesc() {
return this.voiceDesc;
}
public CreateCustomizedVoiceJobRequest setVoiceId(String voiceId) {
this.voiceId = voiceId;
return this;
}
public String getVoiceId() {
return this.voiceId;
}
public CreateCustomizedVoiceJobRequest setVoiceName(String voiceName) {
this.voiceName = voiceName;
return this;
}
public String getVoiceName() {
return this.voiceName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy