public class Invocation extends AbstractModel
Constructor and Description |
---|
Invocation() |
Invocation(Invocation 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 |
getCommandContent()
Get base64编码的命令内容
|
String |
getCommandId()
Get 命令ID。
|
String |
getCommandType()
Get 命令类型
|
String |
getCreatedTime()
Get 执行活动创建时间。
|
String |
getDefaultParameters()
Get 自定义参数的默认取值。
|
String |
getDescription()
Get 执行活动描述。
|
String |
getEndTime()
Get 执行活动结束时间。
|
String |
getInstanceKind()
Get 执行命令的实例类型,取值范围:CVM、LIGHTHOUSE。
|
String |
getInvocationId()
Get 执行活动ID。
|
String |
getInvocationSource()
Get 调用来源。
|
String |
getInvocationStatus()
Get 执行任务状态。取值范围:
PENDING:等待下发
RUNNING:命令运行中
SUCCESS:命令成功
FAILED:命令失败
TIMEOUT:命令超时
PARTIAL_FAILED:命令部分失败
|
InvocationTaskBasicInfo[] |
getInvocationTaskBasicInfoSet()
Get 执行任务信息列表。
|
String |
getOutputCOSBucketUrl()
Get 日志上传的cos bucket 地址。
|
String |
getOutputCOSKeyPrefix()
Get 日志在cos bucket中的目录。
|
String |
getParameters()
Get 自定义参数取值。
|
String |
getStartTime()
Get 执行活动开始时间。
|
Long |
getTimeout()
Get 执行命令过期时间, 单位秒
|
String |
getUpdatedTime()
Get 执行活动更新时间。
|
String |
getUsername()
Get 在实例上执行命令时使用的用户名。
|
String |
getWorkingDirectory()
Get 执行命令的工作路径
|
void |
setCommandContent(String CommandContent)
Set base64编码的命令内容
|
void |
setCommandId(String CommandId)
Set 命令ID。
|
void |
setCommandType(String CommandType)
Set 命令类型
|
void |
setCreatedTime(String CreatedTime)
Set 执行活动创建时间。
|
void |
setDefaultParameters(String DefaultParameters)
Set 自定义参数的默认取值。
|
void |
setDescription(String Description)
Set 执行活动描述。
|
void |
setEndTime(String EndTime)
Set 执行活动结束时间。
|
void |
setInstanceKind(String InstanceKind)
Set 执行命令的实例类型,取值范围:CVM、LIGHTHOUSE。
|
void |
setInvocationId(String InvocationId)
Set 执行活动ID。
|
void |
setInvocationSource(String InvocationSource)
Set 调用来源。
|
void |
setInvocationStatus(String InvocationStatus)
Set 执行任务状态。取值范围:
PENDING:等待下发
RUNNING:命令运行中
SUCCESS:命令成功
FAILED:命令失败
TIMEOUT:命令超时
PARTIAL_FAILED:命令部分失败
|
void |
setInvocationTaskBasicInfoSet(InvocationTaskBasicInfo[] InvocationTaskBasicInfoSet)
Set 执行任务信息列表。
|
void |
setOutputCOSBucketUrl(String OutputCOSBucketUrl)
Set 日志上传的cos bucket 地址。
|
void |
setOutputCOSKeyPrefix(String OutputCOSKeyPrefix)
Set 日志在cos bucket中的目录。
|
void |
setParameters(String Parameters)
Set 自定义参数取值。
|
void |
setStartTime(String StartTime)
Set 执行活动开始时间。
|
void |
setTimeout(Long Timeout)
Set 执行命令过期时间, 单位秒
|
void |
setUpdatedTime(String UpdatedTime)
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Invocation()
public Invocation(Invocation source)
public String getInvocationId()
public void setInvocationId(String InvocationId)
InvocationId
- 执行活动ID。public String getCommandId()
public void setCommandId(String CommandId)
CommandId
- 命令ID。public String getInvocationStatus()
public void setInvocationStatus(String InvocationStatus)
InvocationStatus
- 执行任务状态。取值范围:
public InvocationTaskBasicInfo[] getInvocationTaskBasicInfoSet()
public void setInvocationTaskBasicInfoSet(InvocationTaskBasicInfo[] InvocationTaskBasicInfoSet)
InvocationTaskBasicInfoSet
- 执行任务信息列表。public String getDescription()
public void setDescription(String Description)
Description
- 执行活动描述。public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- 执行活动开始时间。public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- 执行活动结束时间。public String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime
- 执行活动创建时间。public String getUpdatedTime()
public void setUpdatedTime(String UpdatedTime)
UpdatedTime
- 执行活动更新时间。public String getParameters()
public void setParameters(String Parameters)
Parameters
- 自定义参数取值。public String getDefaultParameters()
public void setDefaultParameters(String DefaultParameters)
DefaultParameters
- 自定义参数的默认取值。public String getInstanceKind()
public void setInstanceKind(String InstanceKind)
InstanceKind
- 执行命令的实例类型,取值范围:CVM、LIGHTHOUSE。public String getUsername()
public void setUsername(String Username)
Username
- 在实例上执行命令时使用的用户名。public String getInvocationSource()
public void setInvocationSource(String InvocationSource)
InvocationSource
- 调用来源。public String getCommandContent()
public void setCommandContent(String CommandContent)
CommandContent
- 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 getOutputCOSBucketUrl()
public void setOutputCOSBucketUrl(String OutputCOSBucketUrl)
OutputCOSBucketUrl
- 日志上传的cos bucket 地址。public String getOutputCOSKeyPrefix()
public void setOutputCOSKeyPrefix(String OutputCOSKeyPrefix)
OutputCOSKeyPrefix
- 日志在cos bucket中的目录。Copyright © 2022. All rights reserved.