@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class IPSecConnectionTunnel extends Object
Information about a single tunnel in an IPSec connection. This object does not include the tunnel’s
shared secret (pre-shared key). That is in the
IPSecConnectionTunnelSharedSecret
object.
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
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
IPSecConnectionTunnel.Builder |
static class |
IPSecConnectionTunnel.IkeVersion
Internet Key Exchange protocol version.
|
static class |
IPSecConnectionTunnel.LifecycleState
The tunnel’s lifecycle state.
|
static class |
IPSecConnectionTunnel.Routing
The type of routing used for this tunnel (either BGP dynamic routing or static routing).
|
static class |
IPSecConnectionTunnel.Status
The status of the tunnel based on IPSec protocol characteristics.
|
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)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static IPSecConnectionTunnel.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
BgpSessionInfo |
getBgpSessionInfo() |
String |
getCompartmentId()
The OCID of the compartment containing the tunnel.
|
String |
getCpeIp()
The IP address of the CPE’s VPN headend.
|
String |
getDisplayName()
A user-friendly name.
|
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.Routing |
getRouting()
The type of routing used for this tunnel (either BGP dynamic routing or static routing).
|
IPSecConnectionTunnel.Status |
getStatus()
The status of the tunnel based on IPSec protocol characteristics.
|
Date |
getTimeCreated()
The date and time the IPSec connection tunnel was created, in the format defined by RFC3339.
|
Date |
getTimeStatusUpdated()
When the status of the tunnel last changed, in the format defined by RFC3339.
|
String |
getVpnIp()
The IP address of Oracle’s VPN headend.
|
int |
hashCode() |
IPSecConnectionTunnel.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"compartmentId","id","vpnIp","cpeIp","status","ikeVersion","lifecycleState","displayName","bgpSessionInfo","encryptionDomainConfig","routing","timeCreated","timeStatusUpdated"}) @Deprecated 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)
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 Oracle’s VPN headend.
Example: `203.0.113.21`
public String getCpeIp()
The IP address of the CPE’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 (either BGP dynamic routing or static routing).
public Date getTimeCreated()
The date and time the IPSec connection tunnel was created, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
public Date getTimeStatusUpdated()
When the status of the tunnel last changed, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
Copyright © 2016–2021. All rights reserved.