Class CommandDocument
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tat.v20201028.models.CommandDocument
-
public class CommandDocument extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CommandDocument()CommandDocument(CommandDocument 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 StringgetCommandType()Get 命令类型。StringgetContent()Get Base64 编码后的执行命令。StringgetOutputCOSBucketUrl()Get 保存输出的 COS Bucket 链接。StringgetOutputCOSKeyPrefix()Get 保存输出的文件名称前缀。LonggetTimeout()Get 超时时间。StringgetUsername()Get 执行用户。StringgetWorkingDirectory()Get 执行路径。voidsetCommandType(String CommandType)Set 命令类型。voidsetContent(String Content)Set Base64 编码后的执行命令。voidsetOutputCOSBucketUrl(String OutputCOSBucketUrl)Set 保存输出的 COS Bucket 链接。voidsetOutputCOSKeyPrefix(String OutputCOSKeyPrefix)Set 保存输出的文件名称前缀。voidsetTimeout(Long Timeout)Set 超时时间。voidsetUsername(String Username)Set 执行用户。voidsetWorkingDirectory(String WorkingDirectory)Set 执行路径。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
-
CommandDocument
public CommandDocument()
-
CommandDocument
public CommandDocument(CommandDocument 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
-
getContent
public String getContent()
Get Base64 编码后的执行命令。- Returns:
- Content Base64 编码后的执行命令。
-
setContent
public void setContent(String Content)
Set Base64 编码后的执行命令。- Parameters:
Content- Base64 编码后的执行命令。
-
getCommandType
public String getCommandType()
Get 命令类型。- Returns:
- CommandType 命令类型。
-
setCommandType
public void setCommandType(String CommandType)
Set 命令类型。- Parameters:
CommandType- 命令类型。
-
getTimeout
public Long getTimeout()
Get 超时时间。- Returns:
- Timeout 超时时间。
-
setTimeout
public void setTimeout(Long Timeout)
Set 超时时间。- Parameters:
Timeout- 超时时间。
-
getWorkingDirectory
public String getWorkingDirectory()
Get 执行路径。- Returns:
- WorkingDirectory 执行路径。
-
setWorkingDirectory
public void setWorkingDirectory(String WorkingDirectory)
Set 执行路径。- Parameters:
WorkingDirectory- 执行路径。
-
getUsername
public String getUsername()
Get 执行用户。- Returns:
- Username 执行用户。
-
setUsername
public void setUsername(String Username)
Set 执行用户。- Parameters:
Username- 执行用户。
-
getOutputCOSBucketUrl
public String getOutputCOSBucketUrl()
Get 保存输出的 COS Bucket 链接。- Returns:
- OutputCOSBucketUrl 保存输出的 COS Bucket 链接。
-
setOutputCOSBucketUrl
public void setOutputCOSBucketUrl(String OutputCOSBucketUrl)
Set 保存输出的 COS Bucket 链接。- Parameters:
OutputCOSBucketUrl- 保存输出的 COS Bucket 链接。
-
getOutputCOSKeyPrefix
public String getOutputCOSKeyPrefix()
Get 保存输出的文件名称前缀。- Returns:
- OutputCOSKeyPrefix 保存输出的文件名称前缀。
-
setOutputCOSKeyPrefix
public void setOutputCOSKeyPrefix(String OutputCOSKeyPrefix)
Set 保存输出的文件名称前缀。- Parameters:
OutputCOSKeyPrefix- 保存输出的文件名称前缀。
-
-