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-encoded command
|
String |
getCommandId()
Get Command ID.
|
String |
getCommandType()
Get Command type
|
String |
getCreatedTime()
Get Time when the execution activity is created.
|
String |
getDefaultParameters()
Get Default custom parameter value.
|
String |
getDescription()
Get Execution activity description.
|
String |
getEndTime()
Get End time of the execution activity.
|
String |
getInstanceKind()
Get Type of the instance executing the command.
|
String |
getInvocationId()
Get Execution activity ID.
|
String |
getInvocationSource()
Get Invocation source.
|
String |
getInvocationStatus()
Get Execution task status.
|
InvocationTaskBasicInfo[] |
getInvocationTaskBasicInfoSet()
Get Execution task information list.
|
String |
getOutputCOSBucketUrl()
Get The COS bucket URL for uploading logs.
|
String |
getOutputCOSKeyPrefix()
Get The COS bucket directory where the logs are saved.
|
String |
getParameters()
Get Values of custom parameters.
|
String |
getStartTime()
Get Start time of the execution activity.
|
Long |
getTimeout()
Get Command timeout period, in seconds.
|
String |
getUpdatedTime()
Get Time when the execution activity is updated.
|
String |
getUsername()
Get The user who executes the command on the instance.
|
String |
getWorkingDirectory()
Get Working directory for executing the command.
|
void |
setCommandContent(String CommandContent)
Set Base64-encoded command
|
void |
setCommandId(String CommandId)
Set Command ID.
|
void |
setCommandType(String CommandType)
Set Command type
|
void |
setCreatedTime(String CreatedTime)
Set Time when the execution activity is created.
|
void |
setDefaultParameters(String DefaultParameters)
Set Default custom parameter value.
|
void |
setDescription(String Description)
Set Execution activity description.
|
void |
setEndTime(String EndTime)
Set End time of the execution activity.
|
void |
setInstanceKind(String InstanceKind)
Set Type of the instance executing the command.
|
void |
setInvocationId(String InvocationId)
Set Execution activity ID.
|
void |
setInvocationSource(String InvocationSource)
Set Invocation source.
|
void |
setInvocationStatus(String InvocationStatus)
Set Execution task status.
|
void |
setInvocationTaskBasicInfoSet(InvocationTaskBasicInfo[] InvocationTaskBasicInfoSet)
Set Execution task information list.
|
void |
setOutputCOSBucketUrl(String OutputCOSBucketUrl)
Set The COS bucket URL for uploading logs.
|
void |
setOutputCOSKeyPrefix(String OutputCOSKeyPrefix)
Set The COS bucket directory where the logs are saved.
|
void |
setParameters(String Parameters)
Set Values of custom parameters.
|
void |
setStartTime(String StartTime)
Set Start time of the execution activity.
|
void |
setTimeout(Long Timeout)
Set Command timeout period, in seconds.
|
void |
setUpdatedTime(String UpdatedTime)
Set Time when the execution activity is updated.
|
void |
setUsername(String Username)
Set The user who executes the command on the instance.
|
void |
setWorkingDirectory(String WorkingDirectory)
Set Working directory for executing the command.
|
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
- Execution activity ID.public String getCommandId()
public void setCommandId(String CommandId)
CommandId
- Command ID.public String getInvocationStatus()
public void setInvocationStatus(String InvocationStatus)
InvocationStatus
- Execution task status. Valid values:
public InvocationTaskBasicInfo[] getInvocationTaskBasicInfoSet()
public void setInvocationTaskBasicInfoSet(InvocationTaskBasicInfo[] InvocationTaskBasicInfoSet)
InvocationTaskBasicInfoSet
- Execution task information list.public String getDescription()
public void setDescription(String Description)
Description
- Execution activity description.public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Start time of the execution activity.public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- End time of the execution activity.public String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime
- Time when the execution activity is created.public String getUpdatedTime()
public void setUpdatedTime(String UpdatedTime)
UpdatedTime
- Time when the execution activity is updated.public String getParameters()
public void setParameters(String Parameters)
Parameters
- Values of custom parameters.public String getDefaultParameters()
public void setDefaultParameters(String DefaultParameters)
DefaultParameters
- Default custom parameter value.public String getInstanceKind()
public void setInstanceKind(String InstanceKind)
InstanceKind
- Type of the instance executing the command. Valid values: `CVM`, `LIGHTHOUSE`.public String getUsername()
public void setUsername(String Username)
Username
- The user who executes the command on the instance.public String getInvocationSource()
public void setInvocationSource(String InvocationSource)
InvocationSource
- Invocation source.public String getCommandContent()
public void setCommandContent(String CommandContent)
CommandContent
- Base64-encoded commandpublic String getCommandType()
public void setCommandType(String CommandType)
CommandType
- Command typepublic Long getTimeout()
public void setTimeout(Long Timeout)
Timeout
- Command timeout period, in seconds.public String getWorkingDirectory()
public void setWorkingDirectory(String WorkingDirectory)
WorkingDirectory
- Working directory for executing the command.public String getOutputCOSBucketUrl()
public void setOutputCOSBucketUrl(String OutputCOSBucketUrl)
OutputCOSBucketUrl
- The COS bucket URL for uploading logs.public String getOutputCOSKeyPrefix()
public void setOutputCOSKeyPrefix(String OutputCOSKeyPrefix)
OutputCOSKeyPrefix
- The COS bucket directory where the logs are saved.Copyright © 2023. All rights reserved.