public class HealthReportTask extends AbstractModel
Constructor and Description |
---|
HealthReportTask() |
HealthReportTask(HealthReportTask 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 |
---|---|
Long |
getAsyncRequestId()
Get Async task request ID.
|
String |
getCreateTime()
Get Task creation time.
|
String |
getEndTime()
Get Task end time.
|
HealthStatus |
getHealthStatus()
Get Health information in a health report.
|
InstanceBasicInfo |
getInstanceInfo()
Get Basic information about the instance to which the task belongs.
|
Long |
getProgress()
Get Task progress in %.
|
String |
getSource()
Get Source that triggers the task.
|
String |
getStartTime()
Get Task start time.
|
void |
setAsyncRequestId(Long AsyncRequestId)
Set Async task request ID.
|
void |
setCreateTime(String CreateTime)
Set Task creation time.
|
void |
setEndTime(String EndTime)
Set Task end time.
|
void |
setHealthStatus(HealthStatus HealthStatus)
Set Health information in a health report.
|
void |
setInstanceInfo(InstanceBasicInfo InstanceInfo)
Set Basic information about the instance to which the task belongs.
|
void |
setProgress(Long Progress)
Set Task progress in %.
|
void |
setSource(String Source)
Set Source that triggers the task.
|
void |
setStartTime(String StartTime)
Set Task start time.
|
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 HealthReportTask()
public HealthReportTask(HealthReportTask source)
public Long getAsyncRequestId()
public void setAsyncRequestId(Long AsyncRequestId)
AsyncRequestId
- Async task request ID.public String getSource()
public void setSource(String Source)
Source
- Source that triggers the task. Valid values: `DAILY_INSPECTION` (instance inspection), `SCHEDULED` (timed generation), and `MANUAL` (manual trigger).public Long getProgress()
public void setProgress(Long Progress)
Progress
- Task progress in %.public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Task creation time.public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Task start time.public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- Task end time.public InstanceBasicInfo getInstanceInfo()
public void setInstanceInfo(InstanceBasicInfo InstanceInfo)
InstanceInfo
- Basic information about the instance to which the task belongs.public HealthStatus getHealthStatus()
public void setHealthStatus(HealthStatus HealthStatus)
HealthStatus
- Health information in a health report.Copyright © 2023. All rights reserved.