
com.tencentcloudapi.cloudhsm.v20191112.models.ResourceInfo 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.cloudhsm.v20191112.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class ResourceInfo extends AbstractModel{
/**
* 资源Id
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("ResourceId")
@Expose
private String ResourceId;
/**
* 资源名称
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("ResourceName")
@Expose
private String ResourceName;
/**
* 资源状态
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Status")
@Expose
private Long Status;
/**
* 资源IP
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Vip")
@Expose
private String Vip;
/**
* 资源所属Vpc
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("VpcId")
@Expose
private String VpcId;
/**
* 资源所属子网
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("SubnetId")
@Expose
private String SubnetId;
/**
* 资源所属HSM规格
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Model")
@Expose
private String Model;
/**
* 资源类型
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("VsmType")
@Expose
private Long VsmType;
/**
* 地域Id
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("RegionId")
@Expose
private Long RegionId;
/**
* 区域Id
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("ZoneId")
@Expose
private Long ZoneId;
/**
* 过期时间
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("ExpireTime")
@Expose
private Long ExpireTime;
/**
* 地域名
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("RegionName")
@Expose
private String RegionName;
/**
* 区域名
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("ZoneName")
@Expose
private String ZoneName;
/**
* 实例的安全组列表
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("SgList")
@Expose
private SgUnit [] SgList;
/**
* 子网名称
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("SubnetName")
@Expose
private String SubnetName;
/**
* 当前实例是否已经过期
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Expired")
@Expose
private Boolean Expired;
/**
* 为正数表示实例距离过期时间还剩余多少秒,为负数表示已经过期多少秒
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("RemainSeconds")
@Expose
private Long RemainSeconds;
/**
* Vpc名称
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("VpcName")
@Expose
private String VpcName;
/**
* Get 资源Id
注意:此字段可能返回 null,表示取不到有效值。
* @return ResourceId 资源Id
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getResourceId() {
return this.ResourceId;
}
/**
* Set 资源Id
注意:此字段可能返回 null,表示取不到有效值。
* @param ResourceId 资源Id
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setResourceId(String ResourceId) {
this.ResourceId = ResourceId;
}
/**
* Get 资源名称
注意:此字段可能返回 null,表示取不到有效值。
* @return ResourceName 资源名称
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getResourceName() {
return this.ResourceName;
}
/**
* Set 资源名称
注意:此字段可能返回 null,表示取不到有效值。
* @param ResourceName 资源名称
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setResourceName(String ResourceName) {
this.ResourceName = ResourceName;
}
/**
* Get 资源状态
注意:此字段可能返回 null,表示取不到有效值。
* @return Status 资源状态
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getStatus() {
return this.Status;
}
/**
* Set 资源状态
注意:此字段可能返回 null,表示取不到有效值。
* @param Status 资源状态
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setStatus(Long Status) {
this.Status = Status;
}
/**
* Get 资源IP
注意:此字段可能返回 null,表示取不到有效值。
* @return Vip 资源IP
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getVip() {
return this.Vip;
}
/**
* Set 资源IP
注意:此字段可能返回 null,表示取不到有效值。
* @param Vip 资源IP
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setVip(String Vip) {
this.Vip = Vip;
}
/**
* Get 资源所属Vpc
注意:此字段可能返回 null,表示取不到有效值。
* @return VpcId 资源所属Vpc
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getVpcId() {
return this.VpcId;
}
/**
* Set 资源所属Vpc
注意:此字段可能返回 null,表示取不到有效值。
* @param VpcId 资源所属Vpc
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setVpcId(String VpcId) {
this.VpcId = VpcId;
}
/**
* Get 资源所属子网
注意:此字段可能返回 null,表示取不到有效值。
* @return SubnetId 资源所属子网
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getSubnetId() {
return this.SubnetId;
}
/**
* Set 资源所属子网
注意:此字段可能返回 null,表示取不到有效值。
* @param SubnetId 资源所属子网
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setSubnetId(String SubnetId) {
this.SubnetId = SubnetId;
}
/**
* Get 资源所属HSM规格
注意:此字段可能返回 null,表示取不到有效值。
* @return Model 资源所属HSM规格
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getModel() {
return this.Model;
}
/**
* Set 资源所属HSM规格
注意:此字段可能返回 null,表示取不到有效值。
* @param Model 资源所属HSM规格
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setModel(String Model) {
this.Model = Model;
}
/**
* Get 资源类型
注意:此字段可能返回 null,表示取不到有效值。
* @return VsmType 资源类型
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getVsmType() {
return this.VsmType;
}
/**
* Set 资源类型
注意:此字段可能返回 null,表示取不到有效值。
* @param VsmType 资源类型
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setVsmType(Long VsmType) {
this.VsmType = VsmType;
}
/**
* Get 地域Id
注意:此字段可能返回 null,表示取不到有效值。
* @return RegionId 地域Id
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getRegionId() {
return this.RegionId;
}
/**
* Set 地域Id
注意:此字段可能返回 null,表示取不到有效值。
* @param RegionId 地域Id
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setRegionId(Long RegionId) {
this.RegionId = RegionId;
}
/**
* Get 区域Id
注意:此字段可能返回 null,表示取不到有效值。
* @return ZoneId 区域Id
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getZoneId() {
return this.ZoneId;
}
/**
* Set 区域Id
注意:此字段可能返回 null,表示取不到有效值。
* @param ZoneId 区域Id
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setZoneId(Long ZoneId) {
this.ZoneId = ZoneId;
}
/**
* Get 过期时间
注意:此字段可能返回 null,表示取不到有效值。
* @return ExpireTime 过期时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getExpireTime() {
return this.ExpireTime;
}
/**
* Set 过期时间
注意:此字段可能返回 null,表示取不到有效值。
* @param ExpireTime 过期时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setExpireTime(Long ExpireTime) {
this.ExpireTime = ExpireTime;
}
/**
* Get 地域名
注意:此字段可能返回 null,表示取不到有效值。
* @return RegionName 地域名
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getRegionName() {
return this.RegionName;
}
/**
* Set 地域名
注意:此字段可能返回 null,表示取不到有效值。
* @param RegionName 地域名
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setRegionName(String RegionName) {
this.RegionName = RegionName;
}
/**
* Get 区域名
注意:此字段可能返回 null,表示取不到有效值。
* @return ZoneName 区域名
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getZoneName() {
return this.ZoneName;
}
/**
* Set 区域名
注意:此字段可能返回 null,表示取不到有效值。
* @param ZoneName 区域名
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setZoneName(String ZoneName) {
this.ZoneName = ZoneName;
}
/**
* Get 实例的安全组列表
注意:此字段可能返回 null,表示取不到有效值。
* @return SgList 实例的安全组列表
注意:此字段可能返回 null,表示取不到有效值。
*/
public SgUnit [] getSgList() {
return this.SgList;
}
/**
* Set 实例的安全组列表
注意:此字段可能返回 null,表示取不到有效值。
* @param SgList 实例的安全组列表
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setSgList(SgUnit [] SgList) {
this.SgList = SgList;
}
/**
* Get 子网名称
注意:此字段可能返回 null,表示取不到有效值。
* @return SubnetName 子网名称
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getSubnetName() {
return this.SubnetName;
}
/**
* Set 子网名称
注意:此字段可能返回 null,表示取不到有效值。
* @param SubnetName 子网名称
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setSubnetName(String SubnetName) {
this.SubnetName = SubnetName;
}
/**
* Get 当前实例是否已经过期
注意:此字段可能返回 null,表示取不到有效值。
* @return Expired 当前实例是否已经过期
注意:此字段可能返回 null,表示取不到有效值。
*/
public Boolean getExpired() {
return this.Expired;
}
/**
* Set 当前实例是否已经过期
注意:此字段可能返回 null,表示取不到有效值。
* @param Expired 当前实例是否已经过期
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setExpired(Boolean Expired) {
this.Expired = Expired;
}
/**
* Get 为正数表示实例距离过期时间还剩余多少秒,为负数表示已经过期多少秒
注意:此字段可能返回 null,表示取不到有效值。
* @return RemainSeconds 为正数表示实例距离过期时间还剩余多少秒,为负数表示已经过期多少秒
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getRemainSeconds() {
return this.RemainSeconds;
}
/**
* Set 为正数表示实例距离过期时间还剩余多少秒,为负数表示已经过期多少秒
注意:此字段可能返回 null,表示取不到有效值。
* @param RemainSeconds 为正数表示实例距离过期时间还剩余多少秒,为负数表示已经过期多少秒
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setRemainSeconds(Long RemainSeconds) {
this.RemainSeconds = RemainSeconds;
}
/**
* Get Vpc名称
注意:此字段可能返回 null,表示取不到有效值。
* @return VpcName Vpc名称
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getVpcName() {
return this.VpcName;
}
/**
* Set Vpc名称
注意:此字段可能返回 null,表示取不到有效值。
* @param VpcName Vpc名称
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setVpcName(String VpcName) {
this.VpcName = VpcName;
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "ResourceId", this.ResourceId);
this.setParamSimple(map, prefix + "ResourceName", this.ResourceName);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "Vip", this.Vip);
this.setParamSimple(map, prefix + "VpcId", this.VpcId);
this.setParamSimple(map, prefix + "SubnetId", this.SubnetId);
this.setParamSimple(map, prefix + "Model", this.Model);
this.setParamSimple(map, prefix + "VsmType", this.VsmType);
this.setParamSimple(map, prefix + "RegionId", this.RegionId);
this.setParamSimple(map, prefix + "ZoneId", this.ZoneId);
this.setParamSimple(map, prefix + "ExpireTime", this.ExpireTime);
this.setParamSimple(map, prefix + "RegionName", this.RegionName);
this.setParamSimple(map, prefix + "ZoneName", this.ZoneName);
this.setParamArrayObj(map, prefix + "SgList.", this.SgList);
this.setParamSimple(map, prefix + "SubnetName", this.SubnetName);
this.setParamSimple(map, prefix + "Expired", this.Expired);
this.setParamSimple(map, prefix + "RemainSeconds", this.RemainSeconds);
this.setParamSimple(map, prefix + "VpcName", this.VpcName);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy