public class ModifyInstanceEventRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyInstanceEventRequest() |
ModifyInstanceEventRequest(ModifyInstanceEventRequest 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 |
getEndTime()
Get Modifies the scheduled end time of event execution.
|
Long |
getEventId()
Get Event ID.
|
String |
getExecutionDate()
Get Modifies the start date of the event execution schedule.
|
String |
getInstanceId()
Get Specifies the instance ID.
|
String |
getStartTime()
Get Modifies the scheduled start time of event execution.
|
String |
getStatus()
Get Modifies the running status of the event.
|
void |
setEndTime(String EndTime)
Set Modifies the scheduled end time of event execution.
|
void |
setEventId(Long EventId)
Set Event ID.
|
void |
setExecutionDate(String ExecutionDate)
Set Modifies the start date of the event execution schedule.
|
void |
setInstanceId(String InstanceId)
Set Specifies the instance ID.
|
void |
setStartTime(String StartTime)
Set Modifies the scheduled start time of event execution.
|
void |
setStatus(String Status)
Set Modifies the running status of the event.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ModifyInstanceEventRequest()
public ModifyInstanceEventRequest(ModifyInstanceEventRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Specifies the instance ID. Example: crs-xjhsdj****. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis#/) and copy the instance ID in the instance list.public Long getEventId()
public void setEventId(Long EventId)
EventId
- Event ID. Obtain the ID of the event to be modified using DescribeInstanceEvents.public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Modifies the scheduled start time of event execution.public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- Modifies the scheduled end time of event execution. After the start time is configured, the end time can only be 30 minutes, 1 hour, 1.5 hours, 2 hours, or 3 hours later than the start time.public String getExecutionDate()
public void setExecutionDate(String ExecutionDate)
ExecutionDate
- Modifies the start date of the event execution schedule.public String getStatus()
public void setStatus(String Status)
Status
- Modifies the running status of the event. Currently, this parameter can be set only to **Canceled**, indicating that the execution of the current event is canceled. You can query the running status and level of the current event using DescribeInstanceEvents.- Critical or High events cannot be canceled, which means that they must be executed.- Only events in the Waiting state (to be executed) can be canceled.Copyright © 2024. All rights reserved.