Class Command
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tat.v20201028.models.Command
-
public class Command extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCommandId()Get 命令ID。StringgetCommandName()Get 命令名称。StringgetCommandType()Get 命令类型。StringgetContent()Get Base64编码后的命令内容。StringgetCreatedBy()Get 命令创建者。TAT 代表公共命令,USER 代表个人命令。StringgetCreatedTime()Get 命令创建时间。DefaultParameterConf[]getDefaultParameterConfs()Get 自定义参数的默认取值。 注意:此字段可能返回 null,表示取不到有效值。StringgetDefaultParameters()Get 自定义参数的默认取值。StringgetDescription()Get 命令描述。BooleangetEnableParameter()Get 是否启用自定义参数功能。StringgetFormattedDescription()Get 命令的结构化描述。公共命令有值,用户命令为空字符串。StringgetOutputCOSBucketUrl()Get 日志上传的cos bucket 地址。StringgetOutputCOSKeyPrefix()Get 日志在cos bucket中的目录。Tag[]getTags()Get 命令关联的标签列表。LonggetTimeout()Get 命令超时时间。StringgetUpdatedTime()Get 命令更新时间。StringgetUsername()Get 在实例上执行命令的用户名。StringgetWorkingDirectory()Get 命令执行路径。voidsetCommandId(String CommandId)Set 命令ID。voidsetCommandName(String CommandName)Set 命令名称。voidsetCommandType(String CommandType)Set 命令类型。voidsetContent(String Content)Set Base64编码后的命令内容。voidsetCreatedBy(String CreatedBy)Set 命令创建者。TAT 代表公共命令,USER 代表个人命令。voidsetCreatedTime(String CreatedTime)Set 命令创建时间。voidsetDefaultParameterConfs(DefaultParameterConf[] DefaultParameterConfs)Set 自定义参数的默认取值。 注意:此字段可能返回 null,表示取不到有效值。voidsetDefaultParameters(String DefaultParameters)Set 自定义参数的默认取值。voidsetDescription(String Description)Set 命令描述。voidsetEnableParameter(Boolean EnableParameter)Set 是否启用自定义参数功能。voidsetFormattedDescription(String FormattedDescription)Set 命令的结构化描述。公共命令有值,用户命令为空字符串。voidsetOutputCOSBucketUrl(String OutputCOSBucketUrl)Set 日志上传的cos bucket 地址。voidsetOutputCOSKeyPrefix(String OutputCOSKeyPrefix)Set 日志在cos bucket中的目录。voidsetTags(Tag[] Tags)Set 命令关联的标签列表。voidsetTimeout(Long Timeout)Set 命令超时时间。voidsetUpdatedTime(String UpdatedTime)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
-
Command
public Command()
-
Command
public Command(Command 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
-
getCommandId
public String getCommandId()
Get 命令ID。- Returns:
- CommandId 命令ID。
-
setCommandId
public void setCommandId(String CommandId)
Set 命令ID。- Parameters:
CommandId- 命令ID。
-
getCommandName
public String getCommandName()
Get 命令名称。- Returns:
- CommandName 命令名称。
-
setCommandName
public void setCommandName(String CommandName)
Set 命令名称。- Parameters:
CommandName- 命令名称。
-
getDescription
public String getDescription()
Get 命令描述。- Returns:
- Description 命令描述。
-
setDescription
public void setDescription(String Description)
Set 命令描述。- Parameters:
Description- 命令描述。
-
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- 命令类型。
-
getWorkingDirectory
public String getWorkingDirectory()
Get 命令执行路径。- Returns:
- WorkingDirectory 命令执行路径。
-
setWorkingDirectory
public void setWorkingDirectory(String WorkingDirectory)
Set 命令执行路径。- Parameters:
WorkingDirectory- 命令执行路径。
-
getTimeout
public Long getTimeout()
Get 命令超时时间。- Returns:
- Timeout 命令超时时间。
-
setTimeout
public void setTimeout(Long Timeout)
Set 命令超时时间。- Parameters:
Timeout- 命令超时时间。
-
getCreatedTime
public String getCreatedTime()
Get 命令创建时间。- Returns:
- CreatedTime 命令创建时间。
-
setCreatedTime
public void setCreatedTime(String CreatedTime)
Set 命令创建时间。- Parameters:
CreatedTime- 命令创建时间。
-
getUpdatedTime
public String getUpdatedTime()
Get 命令更新时间。- Returns:
- UpdatedTime 命令更新时间。
-
setUpdatedTime
public void setUpdatedTime(String UpdatedTime)
Set 命令更新时间。- Parameters:
UpdatedTime- 命令更新时间。
-
getEnableParameter
public Boolean getEnableParameter()
Get 是否启用自定义参数功能。- Returns:
- EnableParameter 是否启用自定义参数功能。
-
setEnableParameter
public void setEnableParameter(Boolean EnableParameter)
Set 是否启用自定义参数功能。- Parameters:
EnableParameter- 是否启用自定义参数功能。
-
getDefaultParameters
public String getDefaultParameters()
Get 自定义参数的默认取值。- Returns:
- DefaultParameters 自定义参数的默认取值。
-
setDefaultParameters
public void setDefaultParameters(String DefaultParameters)
Set 自定义参数的默认取值。- Parameters:
DefaultParameters- 自定义参数的默认取值。
-
getDefaultParameterConfs
public DefaultParameterConf[] getDefaultParameterConfs()
Get 自定义参数的默认取值。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- DefaultParameterConfs 自定义参数的默认取值。 注意:此字段可能返回 null,表示取不到有效值。
-
setDefaultParameterConfs
public void setDefaultParameterConfs(DefaultParameterConf[] DefaultParameterConfs)
Set 自定义参数的默认取值。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
DefaultParameterConfs- 自定义参数的默认取值。 注意:此字段可能返回 null,表示取不到有效值。
-
getFormattedDescription
public String getFormattedDescription()
Get 命令的结构化描述。公共命令有值,用户命令为空字符串。- Returns:
- FormattedDescription 命令的结构化描述。公共命令有值,用户命令为空字符串。
-
setFormattedDescription
public void setFormattedDescription(String FormattedDescription)
Set 命令的结构化描述。公共命令有值,用户命令为空字符串。- Parameters:
FormattedDescription- 命令的结构化描述。公共命令有值,用户命令为空字符串。
-
getCreatedBy
public String getCreatedBy()
Get 命令创建者。TAT 代表公共命令,USER 代表个人命令。- Returns:
- CreatedBy 命令创建者。TAT 代表公共命令,USER 代表个人命令。
-
setCreatedBy
public void setCreatedBy(String CreatedBy)
Set 命令创建者。TAT 代表公共命令,USER 代表个人命令。- Parameters:
CreatedBy- 命令创建者。TAT 代表公共命令,USER 代表个人命令。
-
getTags
public Tag[] getTags()
Get 命令关联的标签列表。- Returns:
- Tags 命令关联的标签列表。
-
setTags
public void setTags(Tag[] Tags)
Set 命令关联的标签列表。- Parameters:
Tags- 命令关联的标签列表。
-
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 日志在cos bucket中的目录。- Returns:
- OutputCOSKeyPrefix 日志在cos bucket中的目录。
-
setOutputCOSKeyPrefix
public void setOutputCOSKeyPrefix(String OutputCOSKeyPrefix)
Set 日志在cos bucket中的目录。- Parameters:
OutputCOSKeyPrefix- 日志在cos bucket中的目录。
-
-