
com.tencentcloudapi.dsgc.v20190723.models.ListDSPAMetaResourcesRequest Maven / Gradle / Ivy
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
package com.tencentcloudapi.dsgc.v20190723.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class ListDSPAMetaResourcesRequest extends AbstractModel {
/**
* DSPA实例ID。
*/
@SerializedName("DspaId")
@Expose
private String DspaId;
/**
* 过滤项。
可过滤值包括:
ResoureRegion - 资源所处地域,需要填写完整地域名称,不支持模糊匹配。
AuthStatus - authorized(已授权)、unauthorized(未授权)、deleted(资源已被删除),不支持模糊匹配,需要填写完整。
BuildType - cloud(云原生资源)、build(用户自建资源),不支持模糊匹配,需要填写完整。
MetaType - cdb(云数据Mysql)、dcdb(TDSQL MySQL版)、mariadb(云数据库 MariaDB)、postgres(云数据库 PostgreSQL)、cynosdbmysql(TDSQL-C MySQL版)、cos(对象存储)、mysql_like_proto(自建型Mysql协议类关系型数据库)、postgre_like_proto(自建型Postgre协议类关系型数据库)。
ResourceId - 资源ID,支持模糊搜索。
CvmID - 自建资源对应CvmId,如:ins-xxxxxxxx。该字段用于casb调用dsgc接口时,根据cvmId和vport确定具体的自建实例
*/
@SerializedName("Filters")
@Expose
private DspaDataSourceMngFilter [] Filters;
/**
* 分页步长,默认为100。
*/
@SerializedName("Limit")
@Expose
private Long Limit;
/**
* 分页偏移量,默认为0。
*/
@SerializedName("Offset")
@Expose
private Long Offset;
/**
* 资源绑定状态过滤,默认为全部
*/
@SerializedName("BindType")
@Expose
private String BindType;
/**
* Get DSPA实例ID。
* @return DspaId DSPA实例ID。
*/
public String getDspaId() {
return this.DspaId;
}
/**
* Set DSPA实例ID。
* @param DspaId DSPA实例ID。
*/
public void setDspaId(String DspaId) {
this.DspaId = DspaId;
}
/**
* Get 过滤项。
可过滤值包括:
ResoureRegion - 资源所处地域,需要填写完整地域名称,不支持模糊匹配。
AuthStatus - authorized(已授权)、unauthorized(未授权)、deleted(资源已被删除),不支持模糊匹配,需要填写完整。
BuildType - cloud(云原生资源)、build(用户自建资源),不支持模糊匹配,需要填写完整。
MetaType - cdb(云数据Mysql)、dcdb(TDSQL MySQL版)、mariadb(云数据库 MariaDB)、postgres(云数据库 PostgreSQL)、cynosdbmysql(TDSQL-C MySQL版)、cos(对象存储)、mysql_like_proto(自建型Mysql协议类关系型数据库)、postgre_like_proto(自建型Postgre协议类关系型数据库)。
ResourceId - 资源ID,支持模糊搜索。
CvmID - 自建资源对应CvmId,如:ins-xxxxxxxx。该字段用于casb调用dsgc接口时,根据cvmId和vport确定具体的自建实例
* @return Filters 过滤项。
可过滤值包括:
ResoureRegion - 资源所处地域,需要填写完整地域名称,不支持模糊匹配。
AuthStatus - authorized(已授权)、unauthorized(未授权)、deleted(资源已被删除),不支持模糊匹配,需要填写完整。
BuildType - cloud(云原生资源)、build(用户自建资源),不支持模糊匹配,需要填写完整。
MetaType - cdb(云数据Mysql)、dcdb(TDSQL MySQL版)、mariadb(云数据库 MariaDB)、postgres(云数据库 PostgreSQL)、cynosdbmysql(TDSQL-C MySQL版)、cos(对象存储)、mysql_like_proto(自建型Mysql协议类关系型数据库)、postgre_like_proto(自建型Postgre协议类关系型数据库)。
ResourceId - 资源ID,支持模糊搜索。
CvmID - 自建资源对应CvmId,如:ins-xxxxxxxx。该字段用于casb调用dsgc接口时,根据cvmId和vport确定具体的自建实例
*/
public DspaDataSourceMngFilter [] getFilters() {
return this.Filters;
}
/**
* Set 过滤项。
可过滤值包括:
ResoureRegion - 资源所处地域,需要填写完整地域名称,不支持模糊匹配。
AuthStatus - authorized(已授权)、unauthorized(未授权)、deleted(资源已被删除),不支持模糊匹配,需要填写完整。
BuildType - cloud(云原生资源)、build(用户自建资源),不支持模糊匹配,需要填写完整。
MetaType - cdb(云数据Mysql)、dcdb(TDSQL MySQL版)、mariadb(云数据库 MariaDB)、postgres(云数据库 PostgreSQL)、cynosdbmysql(TDSQL-C MySQL版)、cos(对象存储)、mysql_like_proto(自建型Mysql协议类关系型数据库)、postgre_like_proto(自建型Postgre协议类关系型数据库)。
ResourceId - 资源ID,支持模糊搜索。
CvmID - 自建资源对应CvmId,如:ins-xxxxxxxx。该字段用于casb调用dsgc接口时,根据cvmId和vport确定具体的自建实例
* @param Filters 过滤项。
可过滤值包括:
ResoureRegion - 资源所处地域,需要填写完整地域名称,不支持模糊匹配。
AuthStatus - authorized(已授权)、unauthorized(未授权)、deleted(资源已被删除),不支持模糊匹配,需要填写完整。
BuildType - cloud(云原生资源)、build(用户自建资源),不支持模糊匹配,需要填写完整。
MetaType - cdb(云数据Mysql)、dcdb(TDSQL MySQL版)、mariadb(云数据库 MariaDB)、postgres(云数据库 PostgreSQL)、cynosdbmysql(TDSQL-C MySQL版)、cos(对象存储)、mysql_like_proto(自建型Mysql协议类关系型数据库)、postgre_like_proto(自建型Postgre协议类关系型数据库)。
ResourceId - 资源ID,支持模糊搜索。
CvmID - 自建资源对应CvmId,如:ins-xxxxxxxx。该字段用于casb调用dsgc接口时,根据cvmId和vport确定具体的自建实例
*/
public void setFilters(DspaDataSourceMngFilter [] Filters) {
this.Filters = Filters;
}
/**
* Get 分页步长,默认为100。
* @return Limit 分页步长,默认为100。
*/
public Long getLimit() {
return this.Limit;
}
/**
* Set 分页步长,默认为100。
* @param Limit 分页步长,默认为100。
*/
public void setLimit(Long Limit) {
this.Limit = Limit;
}
/**
* Get 分页偏移量,默认为0。
* @return Offset 分页偏移量,默认为0。
*/
public Long getOffset() {
return this.Offset;
}
/**
* Set 分页偏移量,默认为0。
* @param Offset 分页偏移量,默认为0。
*/
public void setOffset(Long Offset) {
this.Offset = Offset;
}
/**
* Get 资源绑定状态过滤,默认为全部
* @return BindType 资源绑定状态过滤,默认为全部
*/
public String getBindType() {
return this.BindType;
}
/**
* Set 资源绑定状态过滤,默认为全部
* @param BindType 资源绑定状态过滤,默认为全部
*/
public void setBindType(String BindType) {
this.BindType = BindType;
}
public ListDSPAMetaResourcesRequest() {
}
/**
* 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.
*/
public ListDSPAMetaResourcesRequest(ListDSPAMetaResourcesRequest source) {
if (source.DspaId != null) {
this.DspaId = new String(source.DspaId);
}
if (source.Filters != null) {
this.Filters = new DspaDataSourceMngFilter[source.Filters.length];
for (int i = 0; i < source.Filters.length; i++) {
this.Filters[i] = new DspaDataSourceMngFilter(source.Filters[i]);
}
}
if (source.Limit != null) {
this.Limit = new Long(source.Limit);
}
if (source.Offset != null) {
this.Offset = new Long(source.Offset);
}
if (source.BindType != null) {
this.BindType = new String(source.BindType);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "DspaId", this.DspaId);
this.setParamArrayObj(map, prefix + "Filters.", this.Filters);
this.setParamSimple(map, prefix + "Limit", this.Limit);
this.setParamSimple(map, prefix + "Offset", this.Offset);
this.setParamSimple(map, prefix + "BindType", this.BindType);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy