cn.ucloud.usql.model.CancelSQLQueryParam Maven / Gradle / Ivy
package cn.ucloud.usql.model;
import cn.ucloud.common.annotation.UcloudParam;
import cn.ucloud.common.pojo.BaseRequestParam;
import javax.validation.constraints.NotEmpty;
/**
* @Description : 取消SQL查询 参数类
* @Author : ucloud-sdk-generator
* @Date : 2019-03-13 07:56
**/
public class CancelSQLQueryParam extends BaseRequestParam {
/**
* 地域。 参见 [地域和可用区列表](../summary/regionlist.html)
*/
@UcloudParam("Region")
@NotEmpty(message = "region can not be empty")
private String region;
/**
* SQL查询ID
*/
@UcloudParam("QueryId")
@NotEmpty(message = "queryId can not be empty")
private String queryId;
public CancelSQLQueryParam(String region
, String queryId
) {
super("CancelSQLQuery");
this.region = region;
this.queryId = queryId;
}
public String getRegion() {
return this.region;
}
public void setRegion(String region) {
this.region = region;
}
public String getQueryId() {
return this.queryId;
}
public void setQueryId(String queryId) {
this.queryId = queryId;
}
}