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 Command type. | 
| String | getContent()Get Base64-encoded command. | 
| String | getOutputCOSBucketUrl()Get URL of the COS bucket to store the output | 
| String | getOutputCOSKeyPrefix()Get Prefix of the output file name | 
| Long | getTimeout()Get Timeout period. | 
| String | getUsername()Get The user who executes the command. | 
| String | getWorkingDirectory()Get Execution path. | 
| void | setCommandType(String CommandType)Set Command type. | 
| void | setContent(String Content)Set Base64-encoded command. | 
| void | setOutputCOSBucketUrl(String OutputCOSBucketUrl)Set URL of the COS bucket to store the output | 
| void | setOutputCOSKeyPrefix(String OutputCOSKeyPrefix)Set Prefix of the output file name | 
| void | setTimeout(Long Timeout)Set Timeout period. | 
| void | setUsername(String Username)Set The user who executes the command. | 
| void | setWorkingDirectory(String WorkingDirectory)Set Execution path. | 
| 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, toJsonStringpublic CommandDocument()
public CommandDocument(CommandDocument source)
public String getContent()
public void setContent(String Content)
Content - Base64-encoded command.public String getCommandType()
public void setCommandType(String CommandType)
CommandType - Command type.public Long getTimeout()
public void setTimeout(Long Timeout)
Timeout - Timeout period.public String getWorkingDirectory()
public void setWorkingDirectory(String WorkingDirectory)
WorkingDirectory - Execution path.public String getUsername()
public void setUsername(String Username)
Username - The user who executes the command.public String getOutputCOSBucketUrl()
public void setOutputCOSBucketUrl(String OutputCOSBucketUrl)
OutputCOSBucketUrl - URL of the COS bucket to store the outputpublic String getOutputCOSKeyPrefix()
public void setOutputCOSKeyPrefix(String OutputCOSKeyPrefix)
OutputCOSKeyPrefix - Prefix of the output file nameCopyright © 2025. All rights reserved.