
com.tencentcloudapi.dsgc.v20190723.models.ExportAssetDetailDataRequest 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 ExportAssetDetailDataRequest extends AbstractModel {
/**
* DSPA实例Id,格式“dspa-xxxxxxxx”
*/
@SerializedName("DspaId")
@Expose
private String DspaId;
/**
* 合规组id
*/
@SerializedName("ComplianceId")
@Expose
private Long ComplianceId;
/**
* 资产类型(rdb,cvm_db,cos)
*/
@SerializedName("MetaDataType")
@Expose
private String MetaDataType;
/**
* 过滤数组。支持的Name:
DataSourceID 数据源ID
DbName 数据库名称
CategoryID 敏感数据分类ID
RuleID 规则ID
LevelID 敏感分级ID
ResourceRegion 资源所在地域
DataSourceType 数据源类型,不填默认过滤非自建的所有关系型数据源类型,填selfbuilt-db只过滤自建类型
注意:每个name默认支持最多5个values。
*/
@SerializedName("Filters")
@Expose
private Filter [] Filters;
/**
* casbId
*/
@SerializedName("CasbId")
@Expose
private String CasbId;
/**
* Get DSPA实例Id,格式“dspa-xxxxxxxx”
* @return DspaId DSPA实例Id,格式“dspa-xxxxxxxx”
*/
public String getDspaId() {
return this.DspaId;
}
/**
* Set DSPA实例Id,格式“dspa-xxxxxxxx”
* @param DspaId DSPA实例Id,格式“dspa-xxxxxxxx”
*/
public void setDspaId(String DspaId) {
this.DspaId = DspaId;
}
/**
* Get 合规组id
* @return ComplianceId 合规组id
*/
public Long getComplianceId() {
return this.ComplianceId;
}
/**
* Set 合规组id
* @param ComplianceId 合规组id
*/
public void setComplianceId(Long ComplianceId) {
this.ComplianceId = ComplianceId;
}
/**
* Get 资产类型(rdb,cvm_db,cos)
* @return MetaDataType 资产类型(rdb,cvm_db,cos)
*/
public String getMetaDataType() {
return this.MetaDataType;
}
/**
* Set 资产类型(rdb,cvm_db,cos)
* @param MetaDataType 资产类型(rdb,cvm_db,cos)
*/
public void setMetaDataType(String MetaDataType) {
this.MetaDataType = MetaDataType;
}
/**
* Get 过滤数组。支持的Name:
DataSourceID 数据源ID
DbName 数据库名称
CategoryID 敏感数据分类ID
RuleID 规则ID
LevelID 敏感分级ID
ResourceRegion 资源所在地域
DataSourceType 数据源类型,不填默认过滤非自建的所有关系型数据源类型,填selfbuilt-db只过滤自建类型
注意:每个name默认支持最多5个values。
* @return Filters 过滤数组。支持的Name:
DataSourceID 数据源ID
DbName 数据库名称
CategoryID 敏感数据分类ID
RuleID 规则ID
LevelID 敏感分级ID
ResourceRegion 资源所在地域
DataSourceType 数据源类型,不填默认过滤非自建的所有关系型数据源类型,填selfbuilt-db只过滤自建类型
注意:每个name默认支持最多5个values。
*/
public Filter [] getFilters() {
return this.Filters;
}
/**
* Set 过滤数组。支持的Name:
DataSourceID 数据源ID
DbName 数据库名称
CategoryID 敏感数据分类ID
RuleID 规则ID
LevelID 敏感分级ID
ResourceRegion 资源所在地域
DataSourceType 数据源类型,不填默认过滤非自建的所有关系型数据源类型,填selfbuilt-db只过滤自建类型
注意:每个name默认支持最多5个values。
* @param Filters 过滤数组。支持的Name:
DataSourceID 数据源ID
DbName 数据库名称
CategoryID 敏感数据分类ID
RuleID 规则ID
LevelID 敏感分级ID
ResourceRegion 资源所在地域
DataSourceType 数据源类型,不填默认过滤非自建的所有关系型数据源类型,填selfbuilt-db只过滤自建类型
注意:每个name默认支持最多5个values。
*/
public void setFilters(Filter [] Filters) {
this.Filters = Filters;
}
/**
* Get casbId
* @return CasbId casbId
*/
public String getCasbId() {
return this.CasbId;
}
/**
* Set casbId
* @param CasbId casbId
*/
public void setCasbId(String CasbId) {
this.CasbId = CasbId;
}
public ExportAssetDetailDataRequest() {
}
/**
* 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 ExportAssetDetailDataRequest(ExportAssetDetailDataRequest source) {
if (source.DspaId != null) {
this.DspaId = new String(source.DspaId);
}
if (source.ComplianceId != null) {
this.ComplianceId = new Long(source.ComplianceId);
}
if (source.MetaDataType != null) {
this.MetaDataType = new String(source.MetaDataType);
}
if (source.Filters != null) {
this.Filters = new Filter[source.Filters.length];
for (int i = 0; i < source.Filters.length; i++) {
this.Filters[i] = new Filter(source.Filters[i]);
}
}
if (source.CasbId != null) {
this.CasbId = new String(source.CasbId);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "DspaId", this.DspaId);
this.setParamSimple(map, prefix + "ComplianceId", this.ComplianceId);
this.setParamSimple(map, prefix + "MetaDataType", this.MetaDataType);
this.setParamArrayObj(map, prefix + "Filters.", this.Filters);
this.setParamSimple(map, prefix + "CasbId", this.CasbId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy