public class VpnConnection extends AbstractModel
| Constructor and Description | 
|---|
| VpnConnection() | 
| VpnConnection(VpnConnection 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 | getCreatedTime()Get Creation Time. | 
| String | getCustomerGatewayId()Get Customer gateway instance ID. | 
| Boolean | getEnableHealthCheck()Get Whether the health check is supported. | 
| String | getEncryptProto()Get Tunnel encryption protocol. | 
| String | getHealthCheckLocalIp()Get Local IP address for the health check | 
| String | getHealthCheckRemoteIp()Get Peer IP address for the health check | 
| String | getHealthCheckStatus()Get Tunnel health check status. | 
| IKEOptionsSpecification | getIKEOptionsSpecification()Get IKE options. | 
| IPSECOptionsSpecification | getIPSECOptionsSpecification()Get IPSEC options. | 
| String | getNetStatus()Get Connection status of the tunnel. | 
| String | getPreShareKey()Get The pre-shared key. | 
| String | getRouteType()Get Route Type. | 
| SecurityPolicyDatabase[] | getSecurityPolicyDatabaseSet()Get SPD. | 
| String | getState()Get Production status of the tunnel. | 
| String | getVpcId()Get VPC instance ID. | 
| String | getVpnConnectionId()Get Tunnel instance ID. | 
| String | getVpnConnectionName()Get Tunnel name. | 
| String | getVpnGatewayId()Get The ID of the VPN gateway instance. | 
| String | getVpnProto()Get Tunnel transmission protocol. | 
| void | setCreatedTime(String CreatedTime)Set Creation Time. | 
| void | setCustomerGatewayId(String CustomerGatewayId)Set Customer gateway instance ID. | 
| void | setEnableHealthCheck(Boolean EnableHealthCheck)Set Whether the health check is supported. | 
| void | setEncryptProto(String EncryptProto)Set Tunnel encryption protocol. | 
| void | setHealthCheckLocalIp(String HealthCheckLocalIp)Set Local IP address for the health check | 
| void | setHealthCheckRemoteIp(String HealthCheckRemoteIp)Set Peer IP address for the health check | 
| void | setHealthCheckStatus(String HealthCheckStatus)Set Tunnel health check status. | 
| void | setIKEOptionsSpecification(IKEOptionsSpecification IKEOptionsSpecification)Set IKE options. | 
| void | setIPSECOptionsSpecification(IPSECOptionsSpecification IPSECOptionsSpecification)Set IPSEC options. | 
| void | setNetStatus(String NetStatus)Set Connection status of the tunnel. | 
| void | setPreShareKey(String PreShareKey)Set The pre-shared key. | 
| void | setRouteType(String RouteType)Set Route Type. | 
| void | setSecurityPolicyDatabaseSet(SecurityPolicyDatabase[] SecurityPolicyDatabaseSet)Set SPD. | 
| void | setState(String State)Set Production status of the tunnel. | 
| void | setVpcId(String VpcId)Set VPC instance ID. | 
| void | setVpnConnectionId(String VpnConnectionId)Set Tunnel instance ID. | 
| void | setVpnConnectionName(String VpnConnectionName)Set Tunnel name. | 
| void | setVpnGatewayId(String VpnGatewayId)Set The ID of the VPN gateway instance. | 
| void | setVpnProto(String VpnProto)Set Tunnel transmission protocol. | 
| 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 VpnConnection()
public VpnConnection(VpnConnection source)
public String getVpnConnectionId()
public void setVpnConnectionId(String VpnConnectionId)
VpnConnectionId - Tunnel instance ID.public String getVpnConnectionName()
public void setVpnConnectionName(String VpnConnectionName)
VpnConnectionName - Tunnel name.public String getVpcId()
public void setVpcId(String VpcId)
VpcId - VPC instance ID.public String getVpnGatewayId()
public void setVpnGatewayId(String VpnGatewayId)
VpnGatewayId - The ID of the VPN gateway instance.public String getCustomerGatewayId()
public void setCustomerGatewayId(String CustomerGatewayId)
CustomerGatewayId - Customer gateway instance ID.public String getPreShareKey()
public void setPreShareKey(String PreShareKey)
PreShareKey - The pre-shared key.public String getVpnProto()
public void setVpnProto(String VpnProto)
VpnProto - Tunnel transmission protocol.public String getEncryptProto()
public void setEncryptProto(String EncryptProto)
EncryptProto - Tunnel encryption protocol.public String getRouteType()
public void setRouteType(String RouteType)
RouteType - Route Type.public String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime - Creation Time.public String getState()
public void setState(String State)
State - Production status of the tunnel. PENDING: Creating; AVAILABLE: Running; DELETING: Deleting.public String getNetStatus()
public void setNetStatus(String NetStatus)
NetStatus - Connection status of the tunnel. AVAILABLE: Connected.public SecurityPolicyDatabase[] getSecurityPolicyDatabaseSet()
public void setSecurityPolicyDatabaseSet(SecurityPolicyDatabase[] SecurityPolicyDatabaseSet)
SecurityPolicyDatabaseSet - SPD.public IKEOptionsSpecification getIKEOptionsSpecification()
public void setIKEOptionsSpecification(IKEOptionsSpecification IKEOptionsSpecification)
IKEOptionsSpecification - IKE options.public IPSECOptionsSpecification getIPSECOptionsSpecification()
public void setIPSECOptionsSpecification(IPSECOptionsSpecification IPSECOptionsSpecification)
IPSECOptionsSpecification - IPSEC options.public Boolean getEnableHealthCheck()
public void setEnableHealthCheck(Boolean EnableHealthCheck)
EnableHealthCheck - Whether the health check is supported.public String getHealthCheckLocalIp()
public void setHealthCheckLocalIp(String HealthCheckLocalIp)
HealthCheckLocalIp - Local IP address for the health checkpublic String getHealthCheckRemoteIp()
public void setHealthCheckRemoteIp(String HealthCheckRemoteIp)
HealthCheckRemoteIp - Peer IP address for the health checkpublic String getHealthCheckStatus()
public void setHealthCheckStatus(String HealthCheckStatus)
HealthCheckStatus - Tunnel health check status. Valid values: AVAILABLE: healthy; UNAVAILABLE: unhealthy. This parameter will be returned only after health check is enabled.Copyright © 2022. All rights reserved.