public class CreateKillTaskRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
CreateKillTaskRequest()  | 
CreateKillTaskRequest(CreateKillTaskRequest 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 | 
getCommand()
Get Related command, which is a task filter. 
 | 
String | 
getDB()
Get Database name, which is a task filter. 
 | 
Long | 
getDuration()
Get Task duration in seconds. 
 | 
String | 
getHost()
Get Client IP, which is a task filter. 
 | 
String | 
getInfo()
Get Task filter. 
 | 
String | 
getInstanceId()
Get ID of the instance associated with the session killing task. 
 | 
String | 
getProduct()
Get Service type. 
 | 
Long | 
getTime()
Get Session duration in seconds, which is a task filter. 
 | 
String | 
getUser()
Get User type, which is a task filter. 
 | 
void | 
setCommand(String Command)
Set Related command, which is a task filter. 
 | 
void | 
setDB(String DB)
Set Database name, which is a task filter. 
 | 
void | 
setDuration(Long Duration)
Set Task duration in seconds. 
 | 
void | 
setHost(String Host)
Set Client IP, which is a task filter. 
 | 
void | 
setInfo(String Info)
Set Task filter. 
 | 
void | 
setInstanceId(String InstanceId)
Set ID of the instance associated with the session killing task. 
 | 
void | 
setProduct(String Product)
Set Service type. 
 | 
void | 
setTime(Long Time)
Set Session duration in seconds, which is a task filter. 
 | 
void | 
setUser(String User)
Set User type, which is a task filter. 
 | 
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 CreateKillTaskRequest()
public CreateKillTaskRequest(CreateKillTaskRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - ID of the instance associated with the session killing task.public Long getDuration()
public void setDuration(Long Duration)
Duration - Task duration in seconds. Pass in `-1` to stop the task manually.public String getHost()
public void setHost(String Host)
Host - Client IP, which is a task filter.public String getDB()
public void setDB(String DB)
DB - Database name, which is a task filter. Multiple database names are separated by comma.public String getCommand()
public void setCommand(String Command)
Command - Related command, which is a task filter. Multiple commands are separated by comma.public String getInfo()
public void setInfo(String Info)
Info - Task filter. Filtering by single filter prefix is supported.public String getUser()
public void setUser(String User)
User - User type, which is a task filter.public Long getTime()
public void setTime(Long Time)
Time - Session duration in seconds, which is a task filter.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 © 2025. All rights reserved.