public class RedisInstanceEvent extends AbstractModel
header, skipSign| Constructor and Description |
|---|
RedisInstanceEvent() |
RedisInstanceEvent(RedisInstanceEvent 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 |
getEffectInfo()
Get Event impact information.
|
String |
getEndTime()
Get End date of scheduled event execution.
|
String |
getExecutionDate()
Get Scheduled event execution date.
|
String |
getGrade()
Get Event level.
|
Long |
getID()
Get Event ID.
|
String |
getInitialExecutionDate()
Get Initial scheduled event execution date.
|
String |
getInstanceId()
Get Instance ID.
|
String |
getInstanceName()
Get Instance name.
|
String |
getLatestExecutionDate()
Get Latest execution date of the Ops event.
|
String |
getStartTime()
Get Start date of scheduled event execution.
|
String |
getStatus()
Get Current event status.
|
String |
getTaskEndTime()
Get Completion time of the event execution task.
|
String |
getType()
Get Event type.
|
void |
setEffectInfo(String EffectInfo)
Set Event impact information.
|
void |
setEndTime(String EndTime)
Set End date of scheduled event execution.
|
void |
setExecutionDate(String ExecutionDate)
Set Scheduled event execution date.
|
void |
setGrade(String Grade)
Set Event level.
|
void |
setID(Long ID)
Set Event ID.
|
void |
setInitialExecutionDate(String InitialExecutionDate)
Set Initial scheduled event execution date.
|
void |
setInstanceId(String InstanceId)
Set Instance ID.
|
void |
setInstanceName(String InstanceName)
Set Instance name.
|
void |
setLatestExecutionDate(String LatestExecutionDate)
Set Latest execution date of the Ops event.
|
void |
setStartTime(String StartTime)
Set Start date of scheduled event execution.
|
void |
setStatus(String Status)
Set Current event status.
|
void |
setTaskEndTime(String TaskEndTime)
Set Completion time of the event execution task.
|
void |
setType(String Type)
Set Event type.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic RedisInstanceEvent()
public RedisInstanceEvent(RedisInstanceEvent source)
public Long getID()
public void setID(Long ID)
ID - Event ID.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - Instance ID.public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName - Instance name.public String getType()
public void setType(String Type)
Type - Event type. Currently, the type can only be related to instance migration, resource movement, and IDC deletion. This parameter can be set only to **InstanceMigration**.public String getGrade()
public void setGrade(String Grade)
Grade - Event level. The levels are divided into critical, important, medium, and general based on severity and urgency.
- Critical: critical.
- High: important.
- Middle: medium.
- Low.public String getExecutionDate()
public void setExecutionDate(String ExecutionDate)
ExecutionDate - Scheduled event execution date.public String getStartTime()
public void setStartTime(String StartTime)
StartTime - Start date of scheduled event execution.public String getEndTime()
public void setEndTime(String EndTime)
EndTime - End date of scheduled event execution.public String getLatestExecutionDate()
public void setLatestExecutionDate(String LatestExecutionDate)
LatestExecutionDate - Latest execution date of the Ops event. The event should be completed before this date. Otherwise, the business may be affected.public String getStatus()
public void setStatus(String Status)
Status - Current event status.
- Waiting: event not reached the execution date or not within the maintenance window.
- Running: event within the maintenance window and under maintenance execution.
- Finished: event with maintenance completed.
- Canceled: Execution of the event is canceled.public String getTaskEndTime()
public void setTaskEndTime(String TaskEndTime)
TaskEndTime - Completion time of the event execution task.public String getEffectInfo()
public void setEffectInfo(String EffectInfo)
EffectInfo - Event impact information.public String getInitialExecutionDate()
public void setInitialExecutionDate(String InitialExecutionDate)
InitialExecutionDate - Initial scheduled event execution date.Copyright © 2025. All rights reserved.