Class IPSecConnectionTunnel
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.vnmonitoring.model.IPSecConnectionTunnel
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class IPSecConnectionTunnel extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelInformation about a single IPSec tunnel in an IPSec connection.This object does not include the tunnel’s shared secret (pre-shared key), which is found in the IPSecConnectionTunnelSharedSecretobject.
 Note: Objects should always be created or deserialized using theIPSecConnectionTunnel.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theIPSecConnectionTunnel.Builder, which maintain a set of all explicitly set fields calledIPSecConnectionTunnel.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classIPSecConnectionTunnel.Builderstatic classIPSecConnectionTunnel.DpdModeDead peer detection (DPD) mode set on the Oracle side of the connection.static classIPSecConnectionTunnel.IkeVersionInternet Key Exchange protocol version.static classIPSecConnectionTunnel.LifecycleStateThe tunnel’s lifecycle state.static classIPSecConnectionTunnel.NatTranslationEnabledBy default (the AUTO setting), IKE sends packets with a source and destination port set to 500, and when it detects that the port used to forward packets has changed (most likely because a NAT device is between the CPE device and the Oracle VPN headend) it will try to negotiate the use of NAT-T.static classIPSecConnectionTunnel.OracleCanInitiateIndicates whether Oracle can only respond to a request to start an IPSec tunnel from the CPE device, or both respond to and initiate requests.static classIPSecConnectionTunnel.RoutingThe type of routing used for this tunnel (BGP dynamic routing, static routing, or policy-based routing).static classIPSecConnectionTunnel.StatusThe status of the tunnel based on IPSec protocol characteristics.
 - 
Constructor SummaryConstructors Constructor Description IPSecConnectionTunnel(String compartmentId, String id, String vpnIp, String cpeIp, IPSecConnectionTunnel.Status status, IPSecConnectionTunnel.IkeVersion ikeVersion, IPSecConnectionTunnel.LifecycleState lifecycleState, String displayName, BgpSessionInfo bgpSessionInfo, EncryptionDomainConfig encryptionDomainConfig, IPSecConnectionTunnel.Routing routing, Date timeCreated, Date timeStatusUpdated, IPSecConnectionTunnel.OracleCanInitiate oracleCanInitiate, IPSecConnectionTunnel.NatTranslationEnabled natTranslationEnabled, IPSecConnectionTunnel.DpdMode dpdMode, Integer dpdTimeoutInSec, TunnelPhaseOneDetails phaseOneDetails, TunnelPhaseTwoDetails phaseTwoDetails, List<String> associatedVirtualCircuits)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IPSecConnectionTunnel.Builderbuilder()Create a new builder.booleanequals(Object o)List<String>getAssociatedVirtualCircuits()The list of virtual circuit OCIDs over which your network can reach this tunnel.BgpSessionInfogetBgpSessionInfo()StringgetCompartmentId()The OCID of the compartment containing the tunnel.StringgetCpeIp()The IP address of the CPE device’s VPN headend.StringgetDisplayName()A user-friendly name.IPSecConnectionTunnel.DpdModegetDpdMode()Dead peer detection (DPD) mode set on the Oracle side of the connection.IntegergetDpdTimeoutInSec()DPD timeout in seconds.EncryptionDomainConfiggetEncryptionDomainConfig()StringgetId()The OCID of the tunnel.IPSecConnectionTunnel.IkeVersiongetIkeVersion()Internet Key Exchange protocol version.IPSecConnectionTunnel.LifecycleStategetLifecycleState()The tunnel’s lifecycle state.IPSecConnectionTunnel.NatTranslationEnabledgetNatTranslationEnabled()By default (the AUTO setting), IKE sends packets with a source and destination port set to 500, and when it detects that the port used to forward packets has changed (most likely because a NAT device is between the CPE device and the Oracle VPN headend) it will try to negotiate the use of NAT-T.IPSecConnectionTunnel.OracleCanInitiategetOracleCanInitiate()Indicates whether Oracle can only respond to a request to start an IPSec tunnel from the CPE device, or both respond to and initiate requests.TunnelPhaseOneDetailsgetPhaseOneDetails()TunnelPhaseTwoDetailsgetPhaseTwoDetails()IPSecConnectionTunnel.RoutinggetRouting()The type of routing used for this tunnel (BGP dynamic routing, static routing, or policy-based routing).IPSecConnectionTunnel.StatusgetStatus()The status of the tunnel based on IPSec protocol characteristics.DategetTimeCreated()The date and time the IPSec tunnel was created, in the format defined by RFC3339.DategetTimeStatusUpdated()When the status of the IPSec tunnel last changed, in the format defined by RFC3339.StringgetVpnIp()The IP address of the Oracle VPN headend for the connection.inthashCode()IPSecConnectionTunnel.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
IPSecConnectionTunnel@Deprecated @ConstructorProperties({"compartmentId","id","vpnIp","cpeIp","status","ikeVersion","lifecycleState","displayName","bgpSessionInfo","encryptionDomainConfig","routing","timeCreated","timeStatusUpdated","oracleCanInitiate","natTranslationEnabled","dpdMode","dpdTimeoutInSec","phaseOneDetails","phaseTwoDetails","associatedVirtualCircuits"}) public IPSecConnectionTunnel(String compartmentId, String id, String vpnIp, String cpeIp, IPSecConnectionTunnel.Status status, IPSecConnectionTunnel.IkeVersion ikeVersion, IPSecConnectionTunnel.LifecycleState lifecycleState, String displayName, BgpSessionInfo bgpSessionInfo, EncryptionDomainConfig encryptionDomainConfig, IPSecConnectionTunnel.Routing routing, Date timeCreated, Date timeStatusUpdated, IPSecConnectionTunnel.OracleCanInitiate oracleCanInitiate, IPSecConnectionTunnel.NatTranslationEnabled natTranslationEnabled, IPSecConnectionTunnel.DpdMode dpdMode, Integer dpdTimeoutInSec, TunnelPhaseOneDetails phaseOneDetails, TunnelPhaseTwoDetails phaseTwoDetails, List<String> associatedVirtualCircuits) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static IPSecConnectionTunnel.Builder builder() Create a new builder.
 - 
toBuilderpublic IPSecConnectionTunnel.Builder toBuilder() 
 - 
getCompartmentIdpublic String getCompartmentId() The OCID of the compartment containing the tunnel.- Returns:
- the value
 
 - 
getVpnIppublic String getVpnIp() The IP address of the Oracle VPN headend for the connection.Example: 203.0.113.21 - Returns:
- the value
 
 - 
getCpeIppublic String getCpeIp() The IP address of the CPE device’s VPN headend.Example: 203.0.113.22 - Returns:
- the value
 
 - 
getStatuspublic IPSecConnectionTunnel.Status getStatus() The status of the tunnel based on IPSec protocol characteristics.- Returns:
- the value
 
 - 
getIkeVersionpublic IPSecConnectionTunnel.IkeVersion getIkeVersion() Internet Key Exchange protocol version.- Returns:
- the value
 
 - 
getLifecycleStatepublic IPSecConnectionTunnel.LifecycleState getLifecycleState() The tunnel’s lifecycle state.- Returns:
- the value
 
 - 
getDisplayNamepublic String getDisplayName() A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information. - Returns:
- the value
 
 - 
getBgpSessionInfopublic BgpSessionInfo getBgpSessionInfo() 
 - 
getEncryptionDomainConfigpublic EncryptionDomainConfig getEncryptionDomainConfig() 
 - 
getRoutingpublic IPSecConnectionTunnel.Routing getRouting() The type of routing used for this tunnel (BGP dynamic routing, static routing, or policy-based routing).- Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The date and time the IPSec tunnel was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z - Returns:
- the value
 
 - 
getTimeStatusUpdatedpublic Date getTimeStatusUpdated() When the status of the IPSec tunnel last changed, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z - Returns:
- the value
 
 - 
getOracleCanInitiatepublic IPSecConnectionTunnel.OracleCanInitiate getOracleCanInitiate() Indicates whether Oracle can only respond to a request to start an IPSec tunnel from the CPE device, or both respond to and initiate requests.- Returns:
- the value
 
 - 
getNatTranslationEnabledpublic IPSecConnectionTunnel.NatTranslationEnabled getNatTranslationEnabled() By default (the AUTO setting), IKE sends packets with a source and destination port set to 500, and when it detects that the port used to forward packets has changed (most likely because a NAT device is between the CPE device and the Oracle VPN headend) it will try to negotiate the use of NAT-T.The ENABLED option sets the IKE protocol to use port 4500 instead of 500 and forces encapsulating traffic with the ESP protocol inside UDP packets. The DISABLED option directs IKE to completely refuse to negotiate NAT-T even if it senses there may be a NAT device in use. . - Returns:
- the value
 
 - 
getDpdModepublic IPSecConnectionTunnel.DpdMode getDpdMode() Dead peer detection (DPD) mode set on the Oracle side of the connection.This mode sets whether Oracle can only respond to a request from the CPE device to start DPD, or both respond to and initiate requests. - Returns:
- the value
 
 - 
getDpdTimeoutInSecpublic Integer getDpdTimeoutInSec() DPD timeout in seconds.- Returns:
- the value
 
 - 
getPhaseOneDetailspublic TunnelPhaseOneDetails getPhaseOneDetails() 
 - 
getPhaseTwoDetailspublic TunnelPhaseTwoDetails getPhaseTwoDetails() 
 - 
getAssociatedVirtualCircuitspublic List<String> getAssociatedVirtualCircuits() The list of virtual circuit OCIDs over which your network can reach this tunnel.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-