com.tencentcloudapi.csip.v20221121.models.DbAssetInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* 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.csip.v20221121.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 DbAssetInfo extends AbstractModel {
/**
* CFW status
Note: This field may return·null, indicating that no valid values can be obtained.
*/
@SerializedName("CFWStatus")
@Expose
private Long CFWStatus;
/**
* Asset ID
Note: This field may return·null, indicating that no valid values can be obtained.
*/
@SerializedName("AssetId")
@Expose
private String AssetId;
/**
* VPC information
Note: This field may return·null, indicating that no valid values can be obtained.
*/
@SerializedName("VpcName")
@Expose
private String VpcName;
/**
* Asset type
Note: This field may return·null, indicating that no valid values can be obtained.
*/
@SerializedName("AssetType")
@Expose
private String AssetType;
/**
* Public IP
Note: This field may return·null, indicating that no valid values can be obtained.
*/
@SerializedName("PublicIp")
@Expose
private String PublicIp;
/**
* Private IP
Note: This field may return·null, indicating that no valid values can be obtained.
*/
@SerializedName("PrivateIp")
@Expose
private String PrivateIp;
/**
* Region
Note: This field may return·null, indicating that no valid values can be obtained.
*/
@SerializedName("Region")
@Expose
private String Region;
/**
*
*/
@SerializedName("VpcId")
@Expose
private String VpcId;
/**
* Asset name
Note: This field may return·null, indicating that no valid values can be obtained.
*/
@SerializedName("AssetName")
@Expose
private String AssetName;
/**
* CFW edition
Note: This field may return·null, indicating that no valid values can be obtained.
*/
@SerializedName("CFWProtectLevel")
@Expose
private Long CFWProtectLevel;
/**
* Tag information
Note: This field may return·null, indicating that no valid values can be obtained.
*/
@SerializedName("Tag")
@Expose
private Tag [] Tag;
/**
* Get CFW status
Note: This field may return·null, indicating that no valid values can be obtained.
* @return CFWStatus CFW status
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public Long getCFWStatus() {
return this.CFWStatus;
}
/**
* Set CFW status
Note: This field may return·null, indicating that no valid values can be obtained.
* @param CFWStatus CFW status
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public void setCFWStatus(Long CFWStatus) {
this.CFWStatus = CFWStatus;
}
/**
* Get Asset ID
Note: This field may return·null, indicating that no valid values can be obtained.
* @return AssetId Asset ID
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public String getAssetId() {
return this.AssetId;
}
/**
* Set Asset ID
Note: This field may return·null, indicating that no valid values can be obtained.
* @param AssetId Asset ID
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public void setAssetId(String AssetId) {
this.AssetId = AssetId;
}
/**
* Get VPC information
Note: This field may return·null, indicating that no valid values can be obtained.
* @return VpcName VPC information
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public String getVpcName() {
return this.VpcName;
}
/**
* Set VPC information
Note: This field may return·null, indicating that no valid values can be obtained.
* @param VpcName VPC information
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public void setVpcName(String VpcName) {
this.VpcName = VpcName;
}
/**
* Get Asset type
Note: This field may return·null, indicating that no valid values can be obtained.
* @return AssetType Asset type
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public String getAssetType() {
return this.AssetType;
}
/**
* Set Asset type
Note: This field may return·null, indicating that no valid values can be obtained.
* @param AssetType Asset type
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public void setAssetType(String AssetType) {
this.AssetType = AssetType;
}
/**
* Get Public IP
Note: This field may return·null, indicating that no valid values can be obtained.
* @return PublicIp Public IP
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public String getPublicIp() {
return this.PublicIp;
}
/**
* Set Public IP
Note: This field may return·null, indicating that no valid values can be obtained.
* @param PublicIp Public IP
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public void setPublicIp(String PublicIp) {
this.PublicIp = PublicIp;
}
/**
* Get Private IP
Note: This field may return·null, indicating that no valid values can be obtained.
* @return PrivateIp Private IP
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public String getPrivateIp() {
return this.PrivateIp;
}
/**
* Set Private IP
Note: This field may return·null, indicating that no valid values can be obtained.
* @param PrivateIp Private IP
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public void setPrivateIp(String PrivateIp) {
this.PrivateIp = PrivateIp;
}
/**
* Get Region
Note: This field may return·null, indicating that no valid values can be obtained.
* @return Region Region
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public String getRegion() {
return this.Region;
}
/**
* Set Region
Note: This field may return·null, indicating that no valid values can be obtained.
* @param Region Region
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public void setRegion(String Region) {
this.Region = Region;
}
/**
* Get
* @return VpcId
*/
public String getVpcId() {
return this.VpcId;
}
/**
* Set
* @param VpcId
*/
public void setVpcId(String VpcId) {
this.VpcId = VpcId;
}
/**
* Get Asset name
Note: This field may return·null, indicating that no valid values can be obtained.
* @return AssetName Asset name
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public String getAssetName() {
return this.AssetName;
}
/**
* Set Asset name
Note: This field may return·null, indicating that no valid values can be obtained.
* @param AssetName Asset name
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public void setAssetName(String AssetName) {
this.AssetName = AssetName;
}
/**
* Get CFW edition
Note: This field may return·null, indicating that no valid values can be obtained.
* @return CFWProtectLevel CFW edition
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public Long getCFWProtectLevel() {
return this.CFWProtectLevel;
}
/**
* Set CFW edition
Note: This field may return·null, indicating that no valid values can be obtained.
* @param CFWProtectLevel CFW edition
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public void setCFWProtectLevel(Long CFWProtectLevel) {
this.CFWProtectLevel = CFWProtectLevel;
}
/**
* Get Tag information
Note: This field may return·null, indicating that no valid values can be obtained.
* @return Tag Tag information
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public Tag [] getTag() {
return this.Tag;
}
/**
* Set Tag information
Note: This field may return·null, indicating that no valid values can be obtained.
* @param Tag Tag information
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public void setTag(Tag [] Tag) {
this.Tag = Tag;
}
public DbAssetInfo() {
}
/**
* 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 DbAssetInfo(DbAssetInfo source) {
if (source.CFWStatus != null) {
this.CFWStatus = new Long(source.CFWStatus);
}
if (source.AssetId != null) {
this.AssetId = new String(source.AssetId);
}
if (source.VpcName != null) {
this.VpcName = new String(source.VpcName);
}
if (source.AssetType != null) {
this.AssetType = new String(source.AssetType);
}
if (source.PublicIp != null) {
this.PublicIp = new String(source.PublicIp);
}
if (source.PrivateIp != null) {
this.PrivateIp = new String(source.PrivateIp);
}
if (source.Region != null) {
this.Region = new String(source.Region);
}
if (source.VpcId != null) {
this.VpcId = new String(source.VpcId);
}
if (source.AssetName != null) {
this.AssetName = new String(source.AssetName);
}
if (source.CFWProtectLevel != null) {
this.CFWProtectLevel = new Long(source.CFWProtectLevel);
}
if (source.Tag != null) {
this.Tag = new Tag[source.Tag.length];
for (int i = 0; i < source.Tag.length; i++) {
this.Tag[i] = new Tag(source.Tag[i]);
}
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "CFWStatus", this.CFWStatus);
this.setParamSimple(map, prefix + "AssetId", this.AssetId);
this.setParamSimple(map, prefix + "VpcName", this.VpcName);
this.setParamSimple(map, prefix + "AssetType", this.AssetType);
this.setParamSimple(map, prefix + "PublicIp", this.PublicIp);
this.setParamSimple(map, prefix + "PrivateIp", this.PrivateIp);
this.setParamSimple(map, prefix + "Region", this.Region);
this.setParamSimple(map, prefix + "VpcId", this.VpcId);
this.setParamSimple(map, prefix + "AssetName", this.AssetName);
this.setParamSimple(map, prefix + "CFWProtectLevel", this.CFWProtectLevel);
this.setParamArrayObj(map, prefix + "Tag.", this.Tag);
}
}