Class SetVpnGatewaysRenewFlagRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.vpc.v20170312.models.SetVpnGatewaysRenewFlagRequest
-
public class SetVpnGatewaysRenewFlagRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SetVpnGatewaysRenewFlagRequest()SetVpnGatewaysRenewFlagRequest(SetVpnGatewaysRenewFlagRequest 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 LonggetAutoRenewFlag()Get 自动续费标记 [0, 1, 2] 0表示默认状态(初始状态), 1表示自动续费,2表示明确不自动续费。StringgetType()Get VPNGW类型['IPSEC', 'SSL'], 默认为IPSEC。String[]getVpnGatewayIds()Get VPNGW字符型ID列表。可通过[DescribeVpnGateways](https://cloud.tencent.com/document/api/215/17514)接口返回值VpnGatewaySet中的VpnGatewayId获取。voidsetAutoRenewFlag(Long AutoRenewFlag)Set 自动续费标记 [0, 1, 2] 0表示默认状态(初始状态), 1表示自动续费,2表示明确不自动续费。voidsetType(String Type)Set VPNGW类型['IPSEC', 'SSL'], 默认为IPSEC。voidsetVpnGatewayIds(String[] VpnGatewayIds)Set VPNGW字符型ID列表。可通过[DescribeVpnGateways](https://cloud.tencent.com/document/api/215/17514)接口返回值VpnGatewaySet中的VpnGatewayId获取。voidtoMap(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
-
SetVpnGatewaysRenewFlagRequest
public SetVpnGatewaysRenewFlagRequest()
-
SetVpnGatewaysRenewFlagRequest
public SetVpnGatewaysRenewFlagRequest(SetVpnGatewaysRenewFlagRequest 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
-
getVpnGatewayIds
public String[] getVpnGatewayIds()
Get VPNGW字符型ID列表。可通过[DescribeVpnGateways](https://cloud.tencent.com/document/api/215/17514)接口返回值VpnGatewaySet中的VpnGatewayId获取。- Returns:
- VpnGatewayIds VPNGW字符型ID列表。可通过[DescribeVpnGateways](https://cloud.tencent.com/document/api/215/17514)接口返回值VpnGatewaySet中的VpnGatewayId获取。
-
setVpnGatewayIds
public void setVpnGatewayIds(String[] VpnGatewayIds)
Set VPNGW字符型ID列表。可通过[DescribeVpnGateways](https://cloud.tencent.com/document/api/215/17514)接口返回值VpnGatewaySet中的VpnGatewayId获取。- Parameters:
VpnGatewayIds- VPNGW字符型ID列表。可通过[DescribeVpnGateways](https://cloud.tencent.com/document/api/215/17514)接口返回值VpnGatewaySet中的VpnGatewayId获取。
-
getAutoRenewFlag
public Long getAutoRenewFlag()
Get 自动续费标记 [0, 1, 2] 0表示默认状态(初始状态), 1表示自动续费,2表示明确不自动续费。- Returns:
- AutoRenewFlag 自动续费标记 [0, 1, 2] 0表示默认状态(初始状态), 1表示自动续费,2表示明确不自动续费。
-
setAutoRenewFlag
public void setAutoRenewFlag(Long AutoRenewFlag)
Set 自动续费标记 [0, 1, 2] 0表示默认状态(初始状态), 1表示自动续费,2表示明确不自动续费。- Parameters:
AutoRenewFlag- 自动续费标记 [0, 1, 2] 0表示默认状态(初始状态), 1表示自动续费,2表示明确不自动续费。
-
getType
public String getType()
Get VPNGW类型['IPSEC', 'SSL'], 默认为IPSEC。- Returns:
- Type VPNGW类型['IPSEC', 'SSL'], 默认为IPSEC。
-
setType
public void setType(String Type)
Set VPNGW类型['IPSEC', 'SSL'], 默认为IPSEC。- Parameters:
Type- VPNGW类型['IPSEC', 'SSL'], 默认为IPSEC。
-
-