Class VpnGateway
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.vpc.v20170312.models.VpnGateway
-
public class VpnGateway extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description VpnGateway()
VpnGateway(VpnGateway source)
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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCdcId()
Get CDC 实例ID。String
getCreatedTime()
Get 创建时间。String
getExpiredTime()
Get 预付费网关过期时间。String
getInstanceChargeType()
Get 网关付费类型:POSTPAID_BY_HOUR:按量计费,PREPAID:包年包月预付费。Long
getInternetMaxBandwidthOut()
Get 网关出带宽。Boolean
getIsAddressBlocked()
Get 公网IP是否被封堵。Long
getMaxConnection()
Get SSL-VPN 客户端连接数。String
getNetworkInstanceId()
Get Type值为CCN时,该值表示云联网实例ID。String
getNewPurchasePlan()
Get 计费模式变更,PREPAID_TO_POSTPAID:包年包月预付费到期转按小时后付费。String
getPublicIpAddress()
Get 网关公网IP。String
getRenewFlag()
Get 网关续费类型:'NOTIFY_AND_MANUAL_RENEW':手动续费,'NOTIFY_AND_AUTO_RENEW':自动续费,'NOT_NOTIFY_AND_NOT_RENEW':到期不续费。String
getRestrictState()
Get 网关计费状态,PROTECTIVELY_ISOLATED:被安全隔离的实例,NORMAL:正常。String
getState()
Get 网关实例状态, 'PENDING':生产中,'PENDING_ERROR':生产失败,'DELETING':删除中,'DELETING_ERROR':删除失败,'AVAILABLE':运行中。String
getType()
Get 网关实例类型:'IPSEC', 'SSL','CCN','SSL_CCN'。String
getVersion()
Get 网关实例版本信息。String
getVpcId()
Get VPC实例ID。String
getVpnGatewayId()
Get 网关实例ID。String
getVpnGatewayName()
Get 网关实例名称。VpnGatewayQuota[]
getVpnGatewayQuotaSet()
Get 网关带宽配额信息。String
getZone()
Get 可用区,如:ap-guangzhou-2。void
setCdcId(String CdcId)
Set CDC 实例ID。void
setCreatedTime(String CreatedTime)
Set 创建时间。void
setExpiredTime(String ExpiredTime)
Set 预付费网关过期时间。void
setInstanceChargeType(String InstanceChargeType)
Set 网关付费类型:POSTPAID_BY_HOUR:按量计费,PREPAID:包年包月预付费。void
setInternetMaxBandwidthOut(Long InternetMaxBandwidthOut)
Set 网关出带宽。void
setIsAddressBlocked(Boolean IsAddressBlocked)
Set 公网IP是否被封堵。void
setMaxConnection(Long MaxConnection)
Set SSL-VPN 客户端连接数。void
setNetworkInstanceId(String NetworkInstanceId)
Set Type值为CCN时,该值表示云联网实例ID。void
setNewPurchasePlan(String NewPurchasePlan)
Set 计费模式变更,PREPAID_TO_POSTPAID:包年包月预付费到期转按小时后付费。void
setPublicIpAddress(String PublicIpAddress)
Set 网关公网IP。void
setRenewFlag(String RenewFlag)
Set 网关续费类型:'NOTIFY_AND_MANUAL_RENEW':手动续费,'NOTIFY_AND_AUTO_RENEW':自动续费,'NOT_NOTIFY_AND_NOT_RENEW':到期不续费。void
setRestrictState(String RestrictState)
Set 网关计费状态,PROTECTIVELY_ISOLATED:被安全隔离的实例,NORMAL:正常。void
setState(String State)
Set 网关实例状态, 'PENDING':生产中,'PENDING_ERROR':生产失败,'DELETING':删除中,'DELETING_ERROR':删除失败,'AVAILABLE':运行中。void
setType(String Type)
Set 网关实例类型:'IPSEC', 'SSL','CCN','SSL_CCN'。void
setVersion(String Version)
Set 网关实例版本信息。void
setVpcId(String VpcId)
Set VPC实例ID。void
setVpnGatewayId(String VpnGatewayId)
Set 网关实例ID。void
setVpnGatewayName(String VpnGatewayName)
Set 网关实例名称。void
setVpnGatewayQuotaSet(VpnGatewayQuota[] VpnGatewayQuotaSet)
Set 网关带宽配额信息。void
setZone(String Zone)
Set 可用区,如:ap-guangzhou-2。void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
VpnGateway
public VpnGateway()
-
VpnGateway
public VpnGateway(VpnGateway source)
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.
-
-
Method Detail
-
getVpnGatewayId
public String getVpnGatewayId()
Get 网关实例ID。- Returns:
- VpnGatewayId 网关实例ID。
-
setVpnGatewayId
public void setVpnGatewayId(String VpnGatewayId)
Set 网关实例ID。- Parameters:
VpnGatewayId
- 网关实例ID。
-
getVpcId
public String getVpcId()
Get VPC实例ID。- Returns:
- VpcId VPC实例ID。
-
setVpcId
public void setVpcId(String VpcId)
Set VPC实例ID。- Parameters:
VpcId
- VPC实例ID。
-
getVpnGatewayName
public String getVpnGatewayName()
Get 网关实例名称。- Returns:
- VpnGatewayName 网关实例名称。
-
setVpnGatewayName
public void setVpnGatewayName(String VpnGatewayName)
Set 网关实例名称。- Parameters:
VpnGatewayName
- 网关实例名称。
-
getType
public String getType()
Get 网关实例类型:'IPSEC', 'SSL','CCN','SSL_CCN'。- Returns:
- Type 网关实例类型:'IPSEC', 'SSL','CCN','SSL_CCN'。
-
setType
public void setType(String Type)
Set 网关实例类型:'IPSEC', 'SSL','CCN','SSL_CCN'。- Parameters:
Type
- 网关实例类型:'IPSEC', 'SSL','CCN','SSL_CCN'。
-
getState
public String getState()
Get 网关实例状态, 'PENDING':生产中,'PENDING_ERROR':生产失败,'DELETING':删除中,'DELETING_ERROR':删除失败,'AVAILABLE':运行中。- Returns:
- State 网关实例状态, 'PENDING':生产中,'PENDING_ERROR':生产失败,'DELETING':删除中,'DELETING_ERROR':删除失败,'AVAILABLE':运行中。
-
setState
public void setState(String State)
Set 网关实例状态, 'PENDING':生产中,'PENDING_ERROR':生产失败,'DELETING':删除中,'DELETING_ERROR':删除失败,'AVAILABLE':运行中。- Parameters:
State
- 网关实例状态, 'PENDING':生产中,'PENDING_ERROR':生产失败,'DELETING':删除中,'DELETING_ERROR':删除失败,'AVAILABLE':运行中。
-
getPublicIpAddress
public String getPublicIpAddress()
Get 网关公网IP。- Returns:
- PublicIpAddress 网关公网IP。
-
setPublicIpAddress
public void setPublicIpAddress(String PublicIpAddress)
Set 网关公网IP。- Parameters:
PublicIpAddress
- 网关公网IP。
-
getRenewFlag
public String getRenewFlag()
Get 网关续费类型:'NOTIFY_AND_MANUAL_RENEW':手动续费,'NOTIFY_AND_AUTO_RENEW':自动续费,'NOT_NOTIFY_AND_NOT_RENEW':到期不续费。- Returns:
- RenewFlag 网关续费类型:'NOTIFY_AND_MANUAL_RENEW':手动续费,'NOTIFY_AND_AUTO_RENEW':自动续费,'NOT_NOTIFY_AND_NOT_RENEW':到期不续费。
-
setRenewFlag
public void setRenewFlag(String RenewFlag)
Set 网关续费类型:'NOTIFY_AND_MANUAL_RENEW':手动续费,'NOTIFY_AND_AUTO_RENEW':自动续费,'NOT_NOTIFY_AND_NOT_RENEW':到期不续费。- Parameters:
RenewFlag
- 网关续费类型:'NOTIFY_AND_MANUAL_RENEW':手动续费,'NOTIFY_AND_AUTO_RENEW':自动续费,'NOT_NOTIFY_AND_NOT_RENEW':到期不续费。
-
getInstanceChargeType
public String getInstanceChargeType()
Get 网关付费类型:POSTPAID_BY_HOUR:按量计费,PREPAID:包年包月预付费。- Returns:
- InstanceChargeType 网关付费类型:POSTPAID_BY_HOUR:按量计费,PREPAID:包年包月预付费。
-
setInstanceChargeType
public void setInstanceChargeType(String InstanceChargeType)
Set 网关付费类型:POSTPAID_BY_HOUR:按量计费,PREPAID:包年包月预付费。- Parameters:
InstanceChargeType
- 网关付费类型:POSTPAID_BY_HOUR:按量计费,PREPAID:包年包月预付费。
-
getInternetMaxBandwidthOut
public Long getInternetMaxBandwidthOut()
Get 网关出带宽。- Returns:
- InternetMaxBandwidthOut 网关出带宽。
-
setInternetMaxBandwidthOut
public void setInternetMaxBandwidthOut(Long InternetMaxBandwidthOut)
Set 网关出带宽。- Parameters:
InternetMaxBandwidthOut
- 网关出带宽。
-
getCreatedTime
public String getCreatedTime()
Get 创建时间。- Returns:
- CreatedTime 创建时间。
-
setCreatedTime
public void setCreatedTime(String CreatedTime)
Set 创建时间。- Parameters:
CreatedTime
- 创建时间。
-
getExpiredTime
public String getExpiredTime()
Get 预付费网关过期时间。- Returns:
- ExpiredTime 预付费网关过期时间。
-
setExpiredTime
public void setExpiredTime(String ExpiredTime)
Set 预付费网关过期时间。- Parameters:
ExpiredTime
- 预付费网关过期时间。
-
getIsAddressBlocked
public Boolean getIsAddressBlocked()
Get 公网IP是否被封堵。- Returns:
- IsAddressBlocked 公网IP是否被封堵。
-
setIsAddressBlocked
public void setIsAddressBlocked(Boolean IsAddressBlocked)
Set 公网IP是否被封堵。- Parameters:
IsAddressBlocked
- 公网IP是否被封堵。
-
getNewPurchasePlan
public String getNewPurchasePlan()
Get 计费模式变更,PREPAID_TO_POSTPAID:包年包月预付费到期转按小时后付费。- Returns:
- NewPurchasePlan 计费模式变更,PREPAID_TO_POSTPAID:包年包月预付费到期转按小时后付费。
-
setNewPurchasePlan
public void setNewPurchasePlan(String NewPurchasePlan)
Set 计费模式变更,PREPAID_TO_POSTPAID:包年包月预付费到期转按小时后付费。- Parameters:
NewPurchasePlan
- 计费模式变更,PREPAID_TO_POSTPAID:包年包月预付费到期转按小时后付费。
-
getRestrictState
public String getRestrictState()
Get 网关计费状态,PROTECTIVELY_ISOLATED:被安全隔离的实例,NORMAL:正常。- Returns:
- RestrictState 网关计费状态,PROTECTIVELY_ISOLATED:被安全隔离的实例,NORMAL:正常。
-
setRestrictState
public void setRestrictState(String RestrictState)
Set 网关计费状态,PROTECTIVELY_ISOLATED:被安全隔离的实例,NORMAL:正常。- Parameters:
RestrictState
- 网关计费状态,PROTECTIVELY_ISOLATED:被安全隔离的实例,NORMAL:正常。
-
getZone
public String getZone()
Get 可用区,如:ap-guangzhou-2。- Returns:
- Zone 可用区,如:ap-guangzhou-2。
-
setZone
public void setZone(String Zone)
Set 可用区,如:ap-guangzhou-2。- Parameters:
Zone
- 可用区,如:ap-guangzhou-2。
-
getVpnGatewayQuotaSet
public VpnGatewayQuota[] getVpnGatewayQuotaSet()
Get 网关带宽配额信息。- Returns:
- VpnGatewayQuotaSet 网关带宽配额信息。
-
setVpnGatewayQuotaSet
public void setVpnGatewayQuotaSet(VpnGatewayQuota[] VpnGatewayQuotaSet)
Set 网关带宽配额信息。- Parameters:
VpnGatewayQuotaSet
- 网关带宽配额信息。
-
getVersion
public String getVersion()
Get 网关实例版本信息。- Returns:
- Version 网关实例版本信息。
-
setVersion
public void setVersion(String Version)
Set 网关实例版本信息。- Parameters:
Version
- 网关实例版本信息。
-
getNetworkInstanceId
public String getNetworkInstanceId()
Get Type值为CCN时,该值表示云联网实例ID。- Returns:
- NetworkInstanceId Type值为CCN时,该值表示云联网实例ID。
-
setNetworkInstanceId
public void setNetworkInstanceId(String NetworkInstanceId)
Set Type值为CCN时,该值表示云联网实例ID。- Parameters:
NetworkInstanceId
- Type值为CCN时,该值表示云联网实例ID。
-
getCdcId
public String getCdcId()
Get CDC 实例ID。- Returns:
- CdcId CDC 实例ID。
-
setCdcId
public void setCdcId(String CdcId)
Set CDC 实例ID。- Parameters:
CdcId
- CDC 实例ID。
-
getMaxConnection
public Long getMaxConnection()
Get SSL-VPN 客户端连接数。- Returns:
- MaxConnection SSL-VPN 客户端连接数。
-
setMaxConnection
public void setMaxConnection(Long MaxConnection)
Set SSL-VPN 客户端连接数。- Parameters:
MaxConnection
- SSL-VPN 客户端连接数。
-
-