Class CreateJobRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tia.v20180226.models.CreateJobRequest
-
public class CreateJobRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateJobRequest()CreateJobRequest(CreateJobRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getArgs()Get 任务启动参数StringgetCluster()Get 运行任务的集群,详见 [使用集群](https://cloud.tencent.com/document/product/851/17317)String[]getCommand()Get 任务启动命令BooleangetDebug()Get 启动 debug 模式,默认为 falseStringgetMasterType()Get Master 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)StringgetName()Get 任务名称String[]getPackageDir()Get 挂载的路径,支持 NFS,[CFS](https://cloud.tencent.com/product/cfs) 和 [COS](https://cloud.tencent.com/product/cos),其中 COS 只在 [TI-A 定制环境](https://cloud.tencent.com/document/product/851/17320#ti-a-.E5.AE.9A.E5.88.B6.E7.8E.AF.E5.A2.83) 中支持LonggetParameterServerCount()Get Parameter server 机器数量,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)StringgetParameterServerType()Get Parameter server 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)String[]getRuntimeConf()Get 运行任务的其他配置信息StringgetRuntimeVersion()Get 运行任务的环境,详见 [运行环境](https://cloud.tencent.com/document/product/851/17320)StringgetScaleTier()Get 运行任务的配置信息,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)LonggetWorkerCount()Get Worker 机器数量,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)StringgetWorkerType()Get Worker 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)voidsetArgs(String[] Args)Set 任务启动参数voidsetCluster(String Cluster)Set 运行任务的集群,详见 [使用集群](https://cloud.tencent.com/document/product/851/17317)voidsetCommand(String[] Command)Set 任务启动命令voidsetDebug(Boolean Debug)Set 启动 debug 模式,默认为 falsevoidsetMasterType(String MasterType)Set Master 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)voidsetName(String Name)Set 任务名称voidsetPackageDir(String[] PackageDir)Set 挂载的路径,支持 NFS,[CFS](https://cloud.tencent.com/product/cfs) 和 [COS](https://cloud.tencent.com/product/cos),其中 COS 只在 [TI-A 定制环境](https://cloud.tencent.com/document/product/851/17320#ti-a-.E5.AE.9A.E5.88.B6.E7.8E.AF.E5.A2.83) 中支持voidsetParameterServerCount(Long ParameterServerCount)Set Parameter server 机器数量,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)voidsetParameterServerType(String ParameterServerType)Set Parameter server 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)voidsetRuntimeConf(String[] RuntimeConf)Set 运行任务的其他配置信息voidsetRuntimeVersion(String RuntimeVersion)Set 运行任务的环境,详见 [运行环境](https://cloud.tencent.com/document/product/851/17320)voidsetScaleTier(String ScaleTier)Set 运行任务的配置信息,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)voidsetWorkerCount(Long WorkerCount)Set Worker 机器数量,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)voidsetWorkerType(String WorkerType)Set Worker 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CreateJobRequest
public CreateJobRequest()
-
CreateJobRequest
public CreateJobRequest(CreateJobRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getName
public String getName()
Get 任务名称- Returns:
- Name 任务名称
-
setName
public void setName(String Name)
Set 任务名称- Parameters:
Name- 任务名称
-
getCluster
public String getCluster()
Get 运行任务的集群,详见 [使用集群](https://cloud.tencent.com/document/product/851/17317)- Returns:
- Cluster 运行任务的集群,详见 [使用集群](https://cloud.tencent.com/document/product/851/17317)
-
setCluster
public void setCluster(String Cluster)
Set 运行任务的集群,详见 [使用集群](https://cloud.tencent.com/document/product/851/17317)- Parameters:
Cluster- 运行任务的集群,详见 [使用集群](https://cloud.tencent.com/document/product/851/17317)
-
getRuntimeVersion
public String getRuntimeVersion()
Get 运行任务的环境,详见 [运行环境](https://cloud.tencent.com/document/product/851/17320)- Returns:
- RuntimeVersion 运行任务的环境,详见 [运行环境](https://cloud.tencent.com/document/product/851/17320)
-
setRuntimeVersion
public void setRuntimeVersion(String RuntimeVersion)
Set 运行任务的环境,详见 [运行环境](https://cloud.tencent.com/document/product/851/17320)- Parameters:
RuntimeVersion- 运行任务的环境,详见 [运行环境](https://cloud.tencent.com/document/product/851/17320)
-
getPackageDir
public String[] getPackageDir()
Get 挂载的路径,支持 NFS,[CFS](https://cloud.tencent.com/product/cfs) 和 [COS](https://cloud.tencent.com/product/cos),其中 COS 只在 [TI-A 定制环境](https://cloud.tencent.com/document/product/851/17320#ti-a-.E5.AE.9A.E5.88.B6.E7.8E.AF.E5.A2.83) 中支持- Returns:
- PackageDir 挂载的路径,支持 NFS,[CFS](https://cloud.tencent.com/product/cfs) 和 [COS](https://cloud.tencent.com/product/cos),其中 COS 只在 [TI-A 定制环境](https://cloud.tencent.com/document/product/851/17320#ti-a-.E5.AE.9A.E5.88.B6.E7.8E.AF.E5.A2.83) 中支持
-
setPackageDir
public void setPackageDir(String[] PackageDir)
Set 挂载的路径,支持 NFS,[CFS](https://cloud.tencent.com/product/cfs) 和 [COS](https://cloud.tencent.com/product/cos),其中 COS 只在 [TI-A 定制环境](https://cloud.tencent.com/document/product/851/17320#ti-a-.E5.AE.9A.E5.88.B6.E7.8E.AF.E5.A2.83) 中支持- Parameters:
PackageDir- 挂载的路径,支持 NFS,[CFS](https://cloud.tencent.com/product/cfs) 和 [COS](https://cloud.tencent.com/product/cos),其中 COS 只在 [TI-A 定制环境](https://cloud.tencent.com/document/product/851/17320#ti-a-.E5.AE.9A.E5.88.B6.E7.8E.AF.E5.A2.83) 中支持
-
getCommand
public String[] getCommand()
Get 任务启动命令- Returns:
- Command 任务启动命令
-
setCommand
public void setCommand(String[] Command)
Set 任务启动命令- Parameters:
Command- 任务启动命令
-
getArgs
public String[] getArgs()
Get 任务启动参数- Returns:
- Args 任务启动参数
-
setArgs
public void setArgs(String[] Args)
Set 任务启动参数- Parameters:
Args- 任务启动参数
-
getScaleTier
public String getScaleTier()
Get 运行任务的配置信息,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)- Returns:
- ScaleTier 运行任务的配置信息,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
-
setScaleTier
public void setScaleTier(String ScaleTier)
Set 运行任务的配置信息,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)- Parameters:
ScaleTier- 运行任务的配置信息,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
-
getMasterType
public String getMasterType()
Get Master 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)- Returns:
- MasterType Master 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
-
setMasterType
public void setMasterType(String MasterType)
Set Master 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)- Parameters:
MasterType- Master 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
-
getWorkerType
public String getWorkerType()
Get Worker 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)- Returns:
- WorkerType Worker 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
-
setWorkerType
public void setWorkerType(String WorkerType)
Set Worker 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)- Parameters:
WorkerType- Worker 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
-
getParameterServerType
public String getParameterServerType()
Get Parameter server 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)- Returns:
- ParameterServerType Parameter server 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
-
setParameterServerType
public void setParameterServerType(String ParameterServerType)
Set Parameter server 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)- Parameters:
ParameterServerType- Parameter server 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
-
getWorkerCount
public Long getWorkerCount()
Get Worker 机器数量,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)- Returns:
- WorkerCount Worker 机器数量,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
-
setWorkerCount
public void setWorkerCount(Long WorkerCount)
Set Worker 机器数量,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)- Parameters:
WorkerCount- Worker 机器数量,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
-
getParameterServerCount
public Long getParameterServerCount()
Get Parameter server 机器数量,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)- Returns:
- ParameterServerCount Parameter server 机器数量,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
-
setParameterServerCount
public void setParameterServerCount(Long ParameterServerCount)
Set Parameter server 机器数量,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)- Parameters:
ParameterServerCount- Parameter server 机器数量,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
-
getDebug
public Boolean getDebug()
Get 启动 debug 模式,默认为 false- Returns:
- Debug 启动 debug 模式,默认为 false
-
setDebug
public void setDebug(Boolean Debug)
Set 启动 debug 模式,默认为 false- Parameters:
Debug- 启动 debug 模式,默认为 false
-
getRuntimeConf
public String[] getRuntimeConf()
Get 运行任务的其他配置信息- Returns:
- RuntimeConf 运行任务的其他配置信息
-
setRuntimeConf
public void setRuntimeConf(String[] RuntimeConf)
Set 运行任务的其他配置信息- Parameters:
RuntimeConf- 运行任务的其他配置信息
-
-