public class KillMySqlThreadsRequest extends AbstractModel
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.
|
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 |
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public 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`.Copyright © 2023. All rights reserved.