public class VpnGateway extends AbstractModel
Constructor and Description |
---|
VpnGateway() |
Modifier and Type | Method and Description |
---|---|
String |
getCreatedTime()
Get Creation Time.
|
String |
getExpiredTime()
Get Expiration time of the prepaid gateway.
|
String |
getInstanceChargeType()
Get Gateway billing type: POSTPAID_BY_HOUR: Postpaid by hour; PREPAID: Prepaid.
|
Long |
getInternetMaxBandwidthOut()
Get Outbound bandwidth of gateway.
|
Boolean |
getIsAddressBlocked()
Get Whether the public IP is blocked.
|
String |
getNetworkInstanceId()
Get CCN instance ID when the value of Type is CCN.
|
String |
getNewPurchasePlan()
Get Change of billing method.
|
String |
getPublicIpAddress()
Get Gateway public IP.
|
String |
getRenewFlag()
Get Gateway renewal type: 'NOTIFY_AND_MANUAL_RENEW': Manual renewal.
|
String |
getRestrictState()
Get Gateway billing status.
|
String |
getState()
Get Gateway instance status.
|
String |
getType()
Get Gateway instance type.
|
String |
getVersion()
Get Gateway instance version.
|
String |
getVpcId()
Get VPC instance ID.
|
String |
getVpnGatewayId()
Get Gateway instance ID.
|
String |
getVpnGatewayName()
Get Gateway instance name.
|
VpnGatewayQuota[] |
getVpnGatewayQuotaSet()
Get Gateway bandwidth quota information.
|
String |
getZone()
Get The availability zone, such as `ap-guangzhou-2`
|
void |
setCreatedTime(String CreatedTime)
Set Creation Time.
|
void |
setExpiredTime(String ExpiredTime)
Set Expiration time of the prepaid gateway.
|
void |
setInstanceChargeType(String InstanceChargeType)
Set Gateway billing type: POSTPAID_BY_HOUR: Postpaid by hour; PREPAID: Prepaid.
|
void |
setInternetMaxBandwidthOut(Long InternetMaxBandwidthOut)
Set Outbound bandwidth of gateway.
|
void |
setIsAddressBlocked(Boolean IsAddressBlocked)
Set Whether the public IP is blocked.
|
void |
setNetworkInstanceId(String NetworkInstanceId)
Set CCN instance ID when the value of Type is CCN.
|
void |
setNewPurchasePlan(String NewPurchasePlan)
Set Change of billing method.
|
void |
setPublicIpAddress(String PublicIpAddress)
Set Gateway public IP.
|
void |
setRenewFlag(String RenewFlag)
Set Gateway renewal type: 'NOTIFY_AND_MANUAL_RENEW': Manual renewal.
|
void |
setRestrictState(String RestrictState)
Set Gateway billing status.
|
void |
setState(String State)
Set Gateway instance status.
|
void |
setType(String Type)
Set Gateway instance type.
|
void |
setVersion(String Version)
Set Gateway instance version.
|
void |
setVpcId(String VpcId)
Set VPC instance ID.
|
void |
setVpnGatewayId(String VpnGatewayId)
Set Gateway instance ID.
|
void |
setVpnGatewayName(String VpnGatewayName)
Set Gateway instance name.
|
void |
setVpnGatewayQuotaSet(VpnGatewayQuota[] VpnGatewayQuotaSet)
Set Gateway bandwidth quota information.
|
void |
setZone(String Zone)
Set The availability zone, such as `ap-guangzhou-2`
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getVpnGatewayId()
public void setVpnGatewayId(String VpnGatewayId)
VpnGatewayId
- Gateway instance ID.public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC instance ID.public String getVpnGatewayName()
public void setVpnGatewayName(String VpnGatewayName)
VpnGatewayName
- Gateway instance name.public String getType()
public void setType(String Type)
Type
- Gateway instance type. Valid values: 'IPSEC', 'SSL', and 'CCN'.public String getState()
public void setState(String State)
State
- Gateway instance status. 'PENDING': Creating; 'DELETING': Deleting; 'AVAILABLE': Running.public String getPublicIpAddress()
public void setPublicIpAddress(String PublicIpAddress)
PublicIpAddress
- Gateway public IP.public String getRenewFlag()
public void setRenewFlag(String RenewFlag)
RenewFlag
- Gateway renewal type: 'NOTIFY_AND_MANUAL_RENEW': Manual renewal. 'NOTIFY_AND_AUTO_RENEW': Automatic renewal. 'NOT_NOTIFY_AND_NOT_RENEW': No renewal after expiration.public String getInstanceChargeType()
public void setInstanceChargeType(String InstanceChargeType)
InstanceChargeType
- Gateway billing type: POSTPAID_BY_HOUR: Postpaid by hour; PREPAID: Prepaid.public Long getInternetMaxBandwidthOut()
public void setInternetMaxBandwidthOut(Long InternetMaxBandwidthOut)
InternetMaxBandwidthOut
- Outbound bandwidth of gateway.public String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime
- Creation Time.public String getExpiredTime()
public void setExpiredTime(String ExpiredTime)
ExpiredTime
- Expiration time of the prepaid gateway.public Boolean getIsAddressBlocked()
public void setIsAddressBlocked(Boolean IsAddressBlocked)
IsAddressBlocked
- Whether the public IP is blocked.public String getNewPurchasePlan()
public void setNewPurchasePlan(String NewPurchasePlan)
NewPurchasePlan
- Change of billing method. PREPAID_TO_POSTPAID: Monthly subscription prepaid to postpaid by hour.public String getRestrictState()
public void setRestrictState(String RestrictState)
RestrictState
- Gateway billing status. PROTECTIVELY_ISOLATED: Instance is isolated; NORMAL: Normal.public String getZone()
public void setZone(String Zone)
Zone
- The availability zone, such as `ap-guangzhou-2`public VpnGatewayQuota[] getVpnGatewayQuotaSet()
public void setVpnGatewayQuotaSet(VpnGatewayQuota[] VpnGatewayQuotaSet)
VpnGatewayQuotaSet
- Gateway bandwidth quota information.public String getVersion()
public void setVersion(String Version)
Version
- Gateway instance version.public String getNetworkInstanceId()
public void setNetworkInstanceId(String NetworkInstanceId)
NetworkInstanceId
- CCN instance ID when the value of Type is CCN.Copyright © 2020. All rights reserved.