@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class IPSecConnectionTunnel extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Information 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 IPSecConnectionTunnelSharedSecret
object.
Note: Objects should always be created or deserialized using the IPSecConnectionTunnel.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 the IPSecConnectionTunnel.Builder
, which maintain a
set of all explicitly set fields called IPSecConnectionTunnel.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
IPSecConnectionTunnel.Builder |
static class |
IPSecConnectionTunnel.DpdMode
Dead peer detection (DPD) mode set on the Oracle side of the connection.
|
static class |
IPSecConnectionTunnel.IkeVersion
Internet Key Exchange protocol version.
|
static class |
IPSecConnectionTunnel.LifecycleState
The tunnel’s lifecycle state.
|
static class |
IPSecConnectionTunnel.NatTranslationEnabled
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. |
static class |
IPSecConnectionTunnel.OracleCanInitiate
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.
|
static class |
IPSecConnectionTunnel.Routing
The type of routing used for this tunnel (BGP dynamic routing, static routing, or
policy-based routing).
|
static class |
IPSecConnectionTunnel.Status
The status of the tunnel based on IPSec protocol characteristics.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
static IPSecConnectionTunnel.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<String> |
getAssociatedVirtualCircuits()
The list of virtual circuit
OCIDs over
which your network can reach this tunnel.
|
BgpSessionInfo |
getBgpSessionInfo() |
String |
getCompartmentId()
The OCID of
the compartment containing the tunnel.
|
String |
getCpeIp()
The IP address of the CPE device’s VPN headend.
|
String |
getDisplayName()
A user-friendly name.
|
IPSecConnectionTunnel.DpdMode |
getDpdMode()
Dead peer detection (DPD) mode set on the Oracle side of the connection.
|
Integer |
getDpdTimeoutInSec()
DPD timeout in seconds.
|
EncryptionDomainConfig |
getEncryptionDomainConfig() |
String |
getId()
The OCID of
the tunnel.
|
IPSecConnectionTunnel.IkeVersion |
getIkeVersion()
Internet Key Exchange protocol version.
|
IPSecConnectionTunnel.LifecycleState |
getLifecycleState()
The tunnel’s lifecycle state.
|
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. |
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.
|
TunnelPhaseOneDetails |
getPhaseOneDetails() |
TunnelPhaseTwoDetails |
getPhaseTwoDetails() |
IPSecConnectionTunnel.Routing |
getRouting()
The type of routing used for this tunnel (BGP dynamic routing, static routing, or
policy-based routing).
|
IPSecConnectionTunnel.Status |
getStatus()
The status of the tunnel based on IPSec protocol characteristics.
|
Date |
getTimeCreated()
The date and time the IPSec tunnel was created, in the format defined by
RFC3339.
|
Date |
getTimeStatusUpdated()
When the status of the IPSec tunnel last changed, in the format defined by
RFC3339.
|
String |
getVpnIp()
The IP address of the Oracle VPN headend for the connection.
|
int |
hashCode() |
IPSecConnectionTunnel.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static IPSecConnectionTunnel.Builder builder()
Create a new builder.
public IPSecConnectionTunnel.Builder toBuilder()
public String getCompartmentId()
The OCID of the compartment containing the tunnel.
public String getVpnIp()
The IP address of the Oracle VPN headend for the connection.
Example: 203.0.113.21
public String getCpeIp()
The IP address of the CPE device’s VPN headend.
Example: 203.0.113.22
public IPSecConnectionTunnel.Status getStatus()
The status of the tunnel based on IPSec protocol characteristics.
public IPSecConnectionTunnel.IkeVersion getIkeVersion()
Internet Key Exchange protocol version.
public IPSecConnectionTunnel.LifecycleState getLifecycleState()
The tunnel’s lifecycle state.
public String getDisplayName()
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
public BgpSessionInfo getBgpSessionInfo()
public EncryptionDomainConfig getEncryptionDomainConfig()
public IPSecConnectionTunnel.Routing getRouting()
The type of routing used for this tunnel (BGP dynamic routing, static routing, or policy-based routing).
public Date getTimeCreated()
The date and time the IPSec tunnel was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
public Date getTimeStatusUpdated()
When the status of the IPSec tunnel last changed, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
public 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.
public 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.
.
public 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.
public Integer getDpdTimeoutInSec()
DPD timeout in seconds.
public TunnelPhaseOneDetails getPhaseOneDetails()
public TunnelPhaseTwoDetails getPhaseTwoDetails()
public List<String> getAssociatedVirtualCircuits()
The list of virtual circuit OCIDs over which your network can reach this tunnel.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.