public class KillMySqlThreadsRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
KillMySqlThreadsRequest()  | 
KillMySqlThreadsRequest(KillMySqlThreadsRequest 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 | 
getInstanceId()
Get Instance ID. 
 | 
String | 
getProduct()
Get Service type. 
 | 
Boolean | 
getRecordHistory()
Get Whether to record the thread killing history. 
 | 
String | 
getSqlExecId()
Get Execution ID. 
 | 
String | 
getStage()
Get The stage of a session killing task. 
 | 
Long[] | 
getThreads()
Get List of IDs of the MySQL sessions to be killed. 
 | 
void | 
setInstanceId(String InstanceId)
Set Instance ID. 
 | 
void | 
setProduct(String Product)
Set Service type. 
 | 
void | 
setRecordHistory(Boolean RecordHistory)
Set Whether to record the thread killing history. 
 | 
void | 
setSqlExecId(String SqlExecId)
Set Execution ID. 
 | 
void | 
setStage(String Stage)
Set The stage of a session killing task. 
 | 
void | 
setThreads(Long[] Threads)
Set List of IDs of the MySQL sessions to be killed. 
 | 
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 KillMySqlThreadsRequest()
public KillMySqlThreadsRequest(KillMySqlThreadsRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - Instance ID.public String getStage()
public void setStage(String Stage)
Stage - The stage of a session killing task. Valid values: `Prepare` (preparation stage), `Commit` (commit stage).public Long[] getThreads()
public void setThreads(Long[] Threads)
Threads - List of IDs of the MySQL sessions to be killed. This parameter is used in the `Prepare` stage.public String getSqlExecId()
public void setSqlExecId(String SqlExecId)
SqlExecId - Execution ID. This parameter is used in the `Commit` stage.public String getProduct()
public void setProduct(String Product)
Product - Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`.public Boolean getRecordHistory()
public void setRecordHistory(Boolean RecordHistory)
RecordHistory - Whether to record the thread killing history. The default value is `true`, indicating “yes”. You can set it to `false` (“no”) to speed up the killing process.Copyright © 2025. All rights reserved.