public class CommandDocument extends AbstractModel
header, skipSign
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getCommandType()
Get 命令类型。
|
String |
getContent()
Get Base64 编码后的执行命令。
|
String |
getOutputCOSBucketUrl()
Get 保存输出的 COS Bucket 链接。
|
String |
getOutputCOSKeyPrefix()
Get 保存输出的文件名称前缀。
|
Long |
getTimeout()
Get 超时时间。
|
String |
getUsername()
Get 执行用户。
|
String |
getWorkingDirectory()
Get 执行路径。
|
void |
setCommandType(String CommandType)
Set 命令类型。
|
void |
setContent(String Content)
Set Base64 编码后的执行命令。
|
void |
setOutputCOSBucketUrl(String OutputCOSBucketUrl)
Set 保存输出的 COS Bucket 链接。
|
void |
setOutputCOSKeyPrefix(String OutputCOSKeyPrefix)
Set 保存输出的文件名称前缀。
|
void |
setTimeout(Long Timeout)
Set 超时时间。
|
void |
setUsername(String Username)
Set 执行用户。
|
void |
setWorkingDirectory(String WorkingDirectory)
Set 执行路径。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CommandDocument()
public CommandDocument(CommandDocument source)
public String getContent()
public void setContent(String Content)
Content
- Base64 编码后的执行命令。public String getCommandType()
public void setCommandType(String CommandType)
CommandType
- 命令类型。public Long getTimeout()
public void setTimeout(Long Timeout)
Timeout
- 超时时间。public String getWorkingDirectory()
public void setWorkingDirectory(String WorkingDirectory)
WorkingDirectory
- 执行路径。public String getUsername()
public void setUsername(String Username)
Username
- 执行用户。public String getOutputCOSBucketUrl()
public void setOutputCOSBucketUrl(String OutputCOSBucketUrl)
OutputCOSBucketUrl
- 保存输出的 COS Bucket 链接。public String getOutputCOSKeyPrefix()
public void setOutputCOSKeyPrefix(String OutputCOSKeyPrefix)
OutputCOSKeyPrefix
- 保存输出的文件名称前缀。Copyright © 2024. All rights reserved.