Class Application
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.batch.v20170312.models.Application
-
public class Application extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description Application()Application(Application 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 StringgetCommand()Get 任务执行命令。与Commands不能同时指定。 注意:此字段可能返回 null,表示取不到有效值。CommandLine[]getCommands()Get 任务执行命令信息。与Command不能同时指定。 注意:此字段可能返回 null,表示取不到有效值。StringgetDeliveryForm()Get 应用程序的交付方式,包括PACKAGE、LOCAL 两种取值,分别指远程存储的软件包、计算环境本地。 注意:此字段可能返回 null,表示取不到有效值。DockergetDocker()Get 应用使用Docker的相关配置。在使用Docker配置的情况下,DeliveryForm 为 LOCAL 表示直接使用Docker镜像内部的应用软件,通过Docker方式运行;DeliveryForm 为 PACKAGE,表示将远程应用包注入到Docker镜像后,通过Docker方式运行。为避免Docker不同版本的兼容性问题,Docker安装包及相关依赖由Batch统一负责,对于已安装Docker的自定义镜像,请卸载后再使用Docker特性。 注意:此字段可能返回 null,表示取不到有效值。StringgetPackagePath()Get 应用程序软件包的远程存储路径 注意:此字段可能返回 null,表示取不到有效值。voidsetCommand(String Command)Set 任务执行命令。与Commands不能同时指定。 注意:此字段可能返回 null,表示取不到有效值。voidsetCommands(CommandLine[] Commands)Set 任务执行命令信息。与Command不能同时指定。 注意:此字段可能返回 null,表示取不到有效值。voidsetDeliveryForm(String DeliveryForm)Set 应用程序的交付方式,包括PACKAGE、LOCAL 两种取值,分别指远程存储的软件包、计算环境本地。 注意:此字段可能返回 null,表示取不到有效值。voidsetDocker(Docker Docker)Set 应用使用Docker的相关配置。在使用Docker配置的情况下,DeliveryForm 为 LOCAL 表示直接使用Docker镜像内部的应用软件,通过Docker方式运行;DeliveryForm 为 PACKAGE,表示将远程应用包注入到Docker镜像后,通过Docker方式运行。为避免Docker不同版本的兼容性问题,Docker安装包及相关依赖由Batch统一负责,对于已安装Docker的自定义镜像,请卸载后再使用Docker特性。 注意:此字段可能返回 null,表示取不到有效值。voidsetPackagePath(String PackagePath)Set 应用程序软件包的远程存储路径 注意:此字段可能返回 null,表示取不到有效值。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
-
Application
public Application()
-
Application
public Application(Application 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
-
getDeliveryForm
public String getDeliveryForm()
Get 应用程序的交付方式,包括PACKAGE、LOCAL 两种取值,分别指远程存储的软件包、计算环境本地。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- DeliveryForm 应用程序的交付方式,包括PACKAGE、LOCAL 两种取值,分别指远程存储的软件包、计算环境本地。 注意:此字段可能返回 null,表示取不到有效值。
-
setDeliveryForm
public void setDeliveryForm(String DeliveryForm)
Set 应用程序的交付方式,包括PACKAGE、LOCAL 两种取值,分别指远程存储的软件包、计算环境本地。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
DeliveryForm- 应用程序的交付方式,包括PACKAGE、LOCAL 两种取值,分别指远程存储的软件包、计算环境本地。 注意:此字段可能返回 null,表示取不到有效值。
-
getCommand
public String getCommand()
Get 任务执行命令。与Commands不能同时指定。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Command 任务执行命令。与Commands不能同时指定。 注意:此字段可能返回 null,表示取不到有效值。
-
setCommand
public void setCommand(String Command)
Set 任务执行命令。与Commands不能同时指定。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Command- 任务执行命令。与Commands不能同时指定。 注意:此字段可能返回 null,表示取不到有效值。
-
getPackagePath
public String getPackagePath()
Get 应用程序软件包的远程存储路径 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- PackagePath 应用程序软件包的远程存储路径 注意:此字段可能返回 null,表示取不到有效值。
-
setPackagePath
public void setPackagePath(String PackagePath)
Set 应用程序软件包的远程存储路径 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
PackagePath- 应用程序软件包的远程存储路径 注意:此字段可能返回 null,表示取不到有效值。
-
getDocker
public Docker getDocker()
Get 应用使用Docker的相关配置。在使用Docker配置的情况下,DeliveryForm 为 LOCAL 表示直接使用Docker镜像内部的应用软件,通过Docker方式运行;DeliveryForm 为 PACKAGE,表示将远程应用包注入到Docker镜像后,通过Docker方式运行。为避免Docker不同版本的兼容性问题,Docker安装包及相关依赖由Batch统一负责,对于已安装Docker的自定义镜像,请卸载后再使用Docker特性。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Docker 应用使用Docker的相关配置。在使用Docker配置的情况下,DeliveryForm 为 LOCAL 表示直接使用Docker镜像内部的应用软件,通过Docker方式运行;DeliveryForm 为 PACKAGE,表示将远程应用包注入到Docker镜像后,通过Docker方式运行。为避免Docker不同版本的兼容性问题,Docker安装包及相关依赖由Batch统一负责,对于已安装Docker的自定义镜像,请卸载后再使用Docker特性。 注意:此字段可能返回 null,表示取不到有效值。
-
setDocker
public void setDocker(Docker Docker)
Set 应用使用Docker的相关配置。在使用Docker配置的情况下,DeliveryForm 为 LOCAL 表示直接使用Docker镜像内部的应用软件,通过Docker方式运行;DeliveryForm 为 PACKAGE,表示将远程应用包注入到Docker镜像后,通过Docker方式运行。为避免Docker不同版本的兼容性问题,Docker安装包及相关依赖由Batch统一负责,对于已安装Docker的自定义镜像,请卸载后再使用Docker特性。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Docker- 应用使用Docker的相关配置。在使用Docker配置的情况下,DeliveryForm 为 LOCAL 表示直接使用Docker镜像内部的应用软件,通过Docker方式运行;DeliveryForm 为 PACKAGE,表示将远程应用包注入到Docker镜像后,通过Docker方式运行。为避免Docker不同版本的兼容性问题,Docker安装包及相关依赖由Batch统一负责,对于已安装Docker的自定义镜像,请卸载后再使用Docker特性。 注意:此字段可能返回 null,表示取不到有效值。
-
getCommands
public CommandLine[] getCommands()
Get 任务执行命令信息。与Command不能同时指定。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Commands 任务执行命令信息。与Command不能同时指定。 注意:此字段可能返回 null,表示取不到有效值。
-
setCommands
public void setCommands(CommandLine[] Commands)
Set 任务执行命令信息。与Command不能同时指定。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Commands- 任务执行命令信息。与Command不能同时指定。 注意:此字段可能返回 null,表示取不到有效值。
-
-