Class Invocation
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tat.v20201028.models.Invocation
-
public class Invocation extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
Invocation
public Invocation()
-
Invocation
public 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.
-
-
Method Detail
-
getInvocationId
public String getInvocationId()
Get 执行活动ID。- Returns:
- InvocationId 执行活动ID。
-
setInvocationId
public void setInvocationId(String InvocationId)
Set 执行活动ID。- Parameters:
InvocationId
- 执行活动ID。
-
getCommandId
public String getCommandId()
Get 命令ID。- Returns:
- CommandId 命令ID。
-
setCommandId
public void setCommandId(String CommandId)
Set 命令ID。- Parameters:
CommandId
- 命令ID。
-
getInvocationStatus
public String getInvocationStatus()
Get 执行任务状态。取值范围:- PENDING:等待下发
- RUNNING:命令运行中
- SUCCESS:命令成功
- FAILED:命令失败
- TIMEOUT:命令超时
- PARTIAL_FAILED:命令部分失败
- Returns:
- InvocationStatus 执行任务状态。取值范围:
- PENDING:等待下发
- RUNNING:命令运行中
- SUCCESS:命令成功
- FAILED:命令失败
- TIMEOUT:命令超时
- PARTIAL_FAILED:命令部分失败
-
setInvocationStatus
public void setInvocationStatus(String InvocationStatus)
Set 执行任务状态。取值范围:- PENDING:等待下发
- RUNNING:命令运行中
- SUCCESS:命令成功
- FAILED:命令失败
- TIMEOUT:命令超时
- PARTIAL_FAILED:命令部分失败
- Parameters:
InvocationStatus
- 执行任务状态。取值范围:- PENDING:等待下发
- RUNNING:命令运行中
- SUCCESS:命令成功
- FAILED:命令失败
- TIMEOUT:命令超时
- PARTIAL_FAILED:命令部分失败
-
getInvocationTaskBasicInfoSet
public InvocationTaskBasicInfo[] getInvocationTaskBasicInfoSet()
Get 执行任务信息列表。- Returns:
- InvocationTaskBasicInfoSet 执行任务信息列表。
-
setInvocationTaskBasicInfoSet
public void setInvocationTaskBasicInfoSet(InvocationTaskBasicInfo[] InvocationTaskBasicInfoSet)
Set 执行任务信息列表。- Parameters:
InvocationTaskBasicInfoSet
- 执行任务信息列表。
-
getDescription
public String getDescription()
Get 执行活动描述。- Returns:
- Description 执行活动描述。
-
setDescription
public void setDescription(String Description)
Set 执行活动描述。- Parameters:
Description
- 执行活动描述。
-
getStartTime
public String getStartTime()
Get 执行活动开始时间。- Returns:
- StartTime 执行活动开始时间。
-
setStartTime
public void setStartTime(String StartTime)
Set 执行活动开始时间。- Parameters:
StartTime
- 执行活动开始时间。
-
getEndTime
public String getEndTime()
Get 执行活动结束时间。- Returns:
- EndTime 执行活动结束时间。
-
setEndTime
public void setEndTime(String EndTime)
Set 执行活动结束时间。- Parameters:
EndTime
- 执行活动结束时间。
-
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
- 执行活动更新时间。
-
getParameters
public String getParameters()
Get 自定义参数取值。- Returns:
- Parameters 自定义参数取值。
-
setParameters
public void setParameters(String Parameters)
Set 自定义参数取值。- Parameters:
Parameters
- 自定义参数取值。
-
getDefaultParameters
public String getDefaultParameters()
Get 自定义参数的默认取值。- Returns:
- DefaultParameters 自定义参数的默认取值。
-
setDefaultParameters
public void setDefaultParameters(String DefaultParameters)
Set 自定义参数的默认取值。- Parameters:
DefaultParameters
- 自定义参数的默认取值。
-
getInstanceKind
public String getInstanceKind()
Get 执行命令的实例类型,取值范围:CVM、LIGHTHOUSE。- Returns:
- InstanceKind 执行命令的实例类型,取值范围:CVM、LIGHTHOUSE。
-
setInstanceKind
public void setInstanceKind(String InstanceKind)
Set 执行命令的实例类型,取值范围:CVM、LIGHTHOUSE。- Parameters:
InstanceKind
- 执行命令的实例类型,取值范围:CVM、LIGHTHOUSE。
-
getUsername
public String getUsername()
Get 在实例上执行命令时使用的用户名。- Returns:
- Username 在实例上执行命令时使用的用户名。
-
setUsername
public void setUsername(String Username)
Set 在实例上执行命令时使用的用户名。- Parameters:
Username
- 在实例上执行命令时使用的用户名。
-
getInvocationSource
public String getInvocationSource()
Get 调用来源。- Returns:
- InvocationSource 调用来源。
-
setInvocationSource
public void setInvocationSource(String InvocationSource)
Set 调用来源。- Parameters:
InvocationSource
- 调用来源。
-
getCommandContent
public String getCommandContent()
Get base64编码的命令内容- Returns:
- CommandContent base64编码的命令内容
-
setCommandContent
public void setCommandContent(String CommandContent)
Set base64编码的命令内容- Parameters:
CommandContent
- 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
- 执行命令的工作路径
-
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中的目录。
-
-