public class CreateVpnGatewayRequest extends AbstractModel
| Constructor and Description | 
|---|
| CreateVpnGatewayRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| InstanceChargePrepaid | getInstanceChargePrepaid()Get Parameter settings for prepaid billing mode, also known as monthly subscription. | 
| String | getInstanceChargeType()Get The VPN gateway billing mode. | 
| Long | getInternetMaxBandwidthOut()Get The public network bandwidth configuration. | 
| Tag[] | getTags()Get Bound tags, such as [{"Key": "city", "Value": "shanghai"}]. | 
| String | getType()Get VPN gateway type. | 
| String | getVpcId()Get The ID of the VPC instance. | 
| String | getVpnGatewayName()Get The VPN gateway name. | 
| String | getZone()Get The availability zone, such as `ap-guangzhou-2`. | 
| void | setInstanceChargePrepaid(InstanceChargePrepaid InstanceChargePrepaid)Set Parameter settings for prepaid billing mode, also known as monthly subscription. | 
| void | setInstanceChargeType(String InstanceChargeType)Set The VPN gateway billing mode. | 
| void | setInternetMaxBandwidthOut(Long InternetMaxBandwidthOut)Set The public network bandwidth configuration. | 
| void | setTags(Tag[] Tags)Set Bound tags, such as [{"Key": "city", "Value": "shanghai"}]. | 
| void | setType(String Type)Set VPN gateway type. | 
| void | setVpcId(String VpcId)Set The ID of the VPC instance. | 
| void | setVpnGatewayName(String VpnGatewayName)Set The VPN gateway name. | 
| 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, toJsonStringpublic String getVpcId()
public void setVpcId(String VpcId)
VpcId - The ID of the VPC instance. You can obtain the parameter value from the VpcId field in the returned result of DescribeVpcs API.public String getVpnGatewayName()
public void setVpnGatewayName(String VpnGatewayName)
VpnGatewayName - The VPN gateway name. The maximum length is 60 bytes.public Long getInternetMaxBandwidthOut()
public void setInternetMaxBandwidthOut(Long InternetMaxBandwidthOut)
InternetMaxBandwidthOut - The public network bandwidth configuration. Available bandwidth specifications: 5, 10, 20, 50, and 100. Unit: Mbpspublic String getInstanceChargeType()
public void setInstanceChargeType(String InstanceChargeType)
InstanceChargeType - The VPN gateway billing mode. PREPAID: prepaid means monthly subscription. POSTPAID_BY_HOUR: postpaid means pay-as-you-go. Default: POSTPAID_BY_HOUR. If prepaid mode is specified, the `InstanceChargePrepaid` parameter must be entered.public InstanceChargePrepaid getInstanceChargePrepaid()
public void setInstanceChargePrepaid(InstanceChargePrepaid InstanceChargePrepaid)
InstanceChargePrepaid - Parameter settings for prepaid billing mode, also known as monthly subscription. This parameter can specify the purchase period and other attributes such as auto-renewal. This parameter is mandatory for prepaid instances.public String getZone()
public void setZone(String Zone)
Zone - The availability zone, such as `ap-guangzhou-2`.public String getType()
public void setType(String Type)
Type - VPN gateway type. Value: `CCN`, indicates CCN-type VPN gatewaypublic Tag[] getTags()
public void setTags(Tag[] Tags)
Tags - Bound tags, such as [{"Key": "city", "Value": "shanghai"}].Copyright © 2021. All rights reserved.