com.jdcloud.sdk.service.rds.model.DescribeIndexPerformanceRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rds Show documentation
Show all versions of rds Show documentation
JDCLOUD Open API SDK for Java
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 性能统计
* 性能统计相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
package com.jdcloud.sdk.service.rds.model;
import com.jdcloud.sdk.annotation.Required;
import com.jdcloud.sdk.service.JdcloudRequest;
/**
* 索引性能统计</br>- SQL Server:支持</br>- MySQL:暂不支持
*/
public class DescribeIndexPerformanceRequest extends JdcloudRequest implements java.io.Serializable {
private static final long serialVersionUID = 1L;
/**
* 查询类型,不同的查询类型按照相应的字段从高到低返回结果。支持如下类型:Missing:缺失索引Size:索引大小,单位KBUpdates:索引更新次数Scans:表扫描次数Used:最少使用
* Required:true
*/
@Required
private String queryType;
/**
* 需要查询的数据库名,多个数据库名之间用英文逗号分隔,默认所有数据库
*/
private String db;
/**
* 显示数据的页码,取值范围:[1,1000),页码超过总页数时,显示最后一页,用于查询列表的接口
*/
private Integer pageNumber;
/**
* 每页显示的数据条数,默认为50,取值范围:[1,100],只能为10的倍数
*/
private Integer pageSize;
/**
* Region ID
* Required:true
*/
@Required
private String regionId;
/**
* Instance ID
* Required:true
*/
@Required
private String instanceId;
/**
* get 查询类型,不同的查询类型按照相应的字段从高到低返回结果。支持如下类型:Missing:缺失索引Size:索引大小,单位KBUpdates:索引更新次数Scans:表扫描次数Used:最少使用
*
* @return
*/
public String getQueryType() {
return queryType;
}
/**
* set 查询类型,不同的查询类型按照相应的字段从高到低返回结果。支持如下类型:Missing:缺失索引Size:索引大小,单位KBUpdates:索引更新次数Scans:表扫描次数Used:最少使用
*
* @param queryType
*/
public void setQueryType(String queryType) {
this.queryType = queryType;
}
/**
* get 需要查询的数据库名,多个数据库名之间用英文逗号分隔,默认所有数据库
*
* @return
*/
public String getDb() {
return db;
}
/**
* set 需要查询的数据库名,多个数据库名之间用英文逗号分隔,默认所有数据库
*
* @param db
*/
public void setDb(String db) {
this.db = db;
}
/**
* get 显示数据的页码,取值范围:[1,1000),页码超过总页数时,显示最后一页,用于查询列表的接口
*
* @return
*/
public Integer getPageNumber() {
return pageNumber;
}
/**
* set 显示数据的页码,取值范围:[1,1000),页码超过总页数时,显示最后一页,用于查询列表的接口
*
* @param pageNumber
*/
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
}
/**
* get 每页显示的数据条数,默认为50,取值范围:[1,100],只能为10的倍数
*
* @return
*/
public Integer getPageSize() {
return pageSize;
}
/**
* set 每页显示的数据条数,默认为50,取值范围:[1,100],只能为10的倍数
*
* @param pageSize
*/
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
/**
* get Region ID
*
* @return
*/
public String getRegionId() {
return regionId;
}
/**
* set Region ID
*
* @param regionId
*/
public void setRegionId(String regionId) {
this.regionId = regionId;
}
/**
* get Instance ID
*
* @return
*/
public String getInstanceId() {
return instanceId;
}
/**
* set Instance ID
*
* @param instanceId
*/
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
}
/**
* set 查询类型,不同的查询类型按照相应的字段从高到低返回结果。支持如下类型:Missing:缺失索引Size:索引大小,单位KBUpdates:索引更新次数Scans:表扫描次数Used:最少使用
*
* @param queryType
*/
public DescribeIndexPerformanceRequest queryType(String queryType) {
this.queryType = queryType;
return this;
}
/**
* set 需要查询的数据库名,多个数据库名之间用英文逗号分隔,默认所有数据库
*
* @param db
*/
public DescribeIndexPerformanceRequest db(String db) {
this.db = db;
return this;
}
/**
* set 显示数据的页码,取值范围:[1,1000),页码超过总页数时,显示最后一页,用于查询列表的接口
*
* @param pageNumber
*/
public DescribeIndexPerformanceRequest pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* set 每页显示的数据条数,默认为50,取值范围:[1,100],只能为10的倍数
*
* @param pageSize
*/
public DescribeIndexPerformanceRequest pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* set Region ID
*
* @param regionId
*/
public DescribeIndexPerformanceRequest regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* set Instance ID
*
* @param instanceId
*/
public DescribeIndexPerformanceRequest instanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
}