public class ModifyVpnConnectionAttributeRequest extends AbstractModel
Constructor and Description |
---|
ModifyVpnConnectionAttributeRequest() |
ModifyVpnConnectionAttributeRequest(ModifyVpnConnectionAttributeRequest 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getCustomerGatewayId()
Get Peer gateway ID.
|
String |
getDpdAction()
Get The action after DPD timeout.
|
Long |
getDpdEnable()
Get Specifies whether to enable DPD.
|
String |
getDpdTimeout()
Get DPD timeout period.
|
Boolean |
getEnableHealthCheck()
Get Whether to enable the tunnel health check.
|
String |
getHealthCheckLocalIp()
Get Local IP address for the tunnel health check
|
String |
getHealthCheckRemoteIp()
Get Peer IP address for the tunnel health check
|
IKEOptionsSpecification |
getIKEOptionsSpecification()
Get IKE (Internet Key Exchange) configuration.
|
IPSECOptionsSpecification |
getIPSECOptionsSpecification()
Get IPSec configuration.
|
String |
getNegotiationType()
Get Negotiation type.
|
String |
getPreShareKey()
Get The pre-shared key.
|
SecurityPolicyDatabase[] |
getSecurityPolicyDatabases()
Get SPD policy group.
|
String |
getVpnConnectionId()
Get The ID of the VPN tunnel instance, such as `vpnx-f49l6u0z`.
|
String |
getVpnConnectionName()
Get VPN tunnel can be named freely, but the maximum length is 60 characters.
|
void |
setCustomerGatewayId(String CustomerGatewayId)
Set Peer gateway ID.
|
void |
setDpdAction(String DpdAction)
Set The action after DPD timeout.
|
void |
setDpdEnable(Long DpdEnable)
Set Specifies whether to enable DPD.
|
void |
setDpdTimeout(String DpdTimeout)
Set DPD timeout period.
|
void |
setEnableHealthCheck(Boolean EnableHealthCheck)
Set Whether to enable the tunnel health check.
|
void |
setHealthCheckLocalIp(String HealthCheckLocalIp)
Set Local IP address for the tunnel health check
|
void |
setHealthCheckRemoteIp(String HealthCheckRemoteIp)
Set Peer IP address for the tunnel health check
|
void |
setIKEOptionsSpecification(IKEOptionsSpecification IKEOptionsSpecification)
Set IKE (Internet Key Exchange) configuration.
|
void |
setIPSECOptionsSpecification(IPSECOptionsSpecification IPSECOptionsSpecification)
Set IPSec configuration.
|
void |
setNegotiationType(String NegotiationType)
Set Negotiation type.
|
void |
setPreShareKey(String PreShareKey)
Set The pre-shared key.
|
void |
setSecurityPolicyDatabases(SecurityPolicyDatabase[] SecurityPolicyDatabases)
Set SPD policy group.
|
void |
setVpnConnectionId(String VpnConnectionId)
Set The ID of the VPN tunnel instance, such as `vpnx-f49l6u0z`.
|
void |
setVpnConnectionName(String VpnConnectionName)
Set VPN tunnel can be named freely, but the maximum length is 60 characters.
|
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 ModifyVpnConnectionAttributeRequest()
public ModifyVpnConnectionAttributeRequest(ModifyVpnConnectionAttributeRequest source)
public String getVpnConnectionId()
public void setVpnConnectionId(String VpnConnectionId)
VpnConnectionId
- The ID of the VPN tunnel instance, such as `vpnx-f49l6u0z`.public String getVpnConnectionName()
public void setVpnConnectionName(String VpnConnectionName)
VpnConnectionName
- VPN tunnel can be named freely, but the maximum length is 60 characters.public String getPreShareKey()
public void setPreShareKey(String PreShareKey)
PreShareKey
- The pre-shared key.public SecurityPolicyDatabase[] getSecurityPolicyDatabases()
public void setSecurityPolicyDatabases(SecurityPolicyDatabase[] SecurityPolicyDatabases)
SecurityPolicyDatabases
- SPD policy group. Taking {"10.0.0.5/24":["172.123.10.5/16"]} as an example, 10.0.0.5/24 is the VPC private IP range, and 172.123.10.5/16 is the IDC IP range. The user specifies the IP range in the VPC that can communicate with the IP range in the IDC.public IKEOptionsSpecification getIKEOptionsSpecification()
public void setIKEOptionsSpecification(IKEOptionsSpecification IKEOptionsSpecification)
IKEOptionsSpecification
- IKE (Internet Key Exchange) configuration. IKE comes with a self-protection mechanism. The network security protocol is configured by the user.public IPSECOptionsSpecification getIPSECOptionsSpecification()
public void setIPSECOptionsSpecification(IPSECOptionsSpecification IPSECOptionsSpecification)
IPSECOptionsSpecification
- IPSec configuration. The IPSec secure session configuration is provided by Tencent Cloud.public Boolean getEnableHealthCheck()
public void setEnableHealthCheck(Boolean EnableHealthCheck)
EnableHealthCheck
- Whether to enable the tunnel health check. The default value is `False`.public String getHealthCheckLocalIp()
public void setHealthCheckLocalIp(String HealthCheckLocalIp)
HealthCheckLocalIp
- Local IP address for the tunnel health checkpublic String getHealthCheckRemoteIp()
public void setHealthCheckRemoteIp(String HealthCheckRemoteIp)
HealthCheckRemoteIp
- Peer IP address for the tunnel health checkpublic String getNegotiationType()
public void setNegotiationType(String NegotiationType)
NegotiationType
- Negotiation type. Valid values: `active` (default value), `passive` and `flowTrigger`.public Long getDpdEnable()
public void setDpdEnable(Long DpdEnable)
DpdEnable
- Specifies whether to enable DPD. Valid values: `0` (disable) and `1` (enable)public String getDpdTimeout()
public void setDpdTimeout(String DpdTimeout)
DpdTimeout
- DPD timeout period. Default: 30; unit: second. If the request is not responded within this period, the peer end is considered not exists. This parameter is valid when the value of `DpdEnable` is 1.public String getDpdAction()
public void setDpdAction(String DpdAction)
DpdAction
- The action after DPD timeout. Valid values: `clear` (disconnect) and `restart` (try again). It’s valid when `DpdEnable` is `1`.public String getCustomerGatewayId()
public void setCustomerGatewayId(String CustomerGatewayId)
CustomerGatewayId
- Peer gateway ID. You can update tunnels of V4.0 and later gateways.Copyright © 2023. All rights reserved.