public static class IPSecConnectionTunnel.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
IPSecConnectionTunnel.Builder |
associatedVirtualCircuits(List<String> associatedVirtualCircuits)
The list of virtual circuit
OCIDs over
which your network can reach this tunnel.
|
IPSecConnectionTunnel.Builder |
bgpSessionInfo(BgpSessionInfo bgpSessionInfo) |
IPSecConnectionTunnel |
build() |
IPSecConnectionTunnel.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment containing the tunnel.
|
IPSecConnectionTunnel.Builder |
copy(IPSecConnectionTunnel model) |
IPSecConnectionTunnel.Builder |
cpeIp(String cpeIp)
The IP address of the CPE device’s VPN headend.
|
IPSecConnectionTunnel.Builder |
displayName(String displayName)
A user-friendly name.
|
IPSecConnectionTunnel.Builder |
dpdMode(IPSecConnectionTunnel.DpdMode dpdMode)
Dead peer detection (DPD) mode set on the Oracle side of the connection.
|
IPSecConnectionTunnel.Builder |
dpdTimeoutInSec(Integer dpdTimeoutInSec)
DPD timeout in seconds.
|
IPSecConnectionTunnel.Builder |
encryptionDomainConfig(EncryptionDomainConfig encryptionDomainConfig) |
IPSecConnectionTunnel.Builder |
id(String id)
The OCID
of the tunnel.
|
IPSecConnectionTunnel.Builder |
ikeVersion(IPSecConnectionTunnel.IkeVersion ikeVersion)
Internet Key Exchange protocol version.
|
IPSecConnectionTunnel.Builder |
lifecycleState(IPSecConnectionTunnel.LifecycleState lifecycleState)
The tunnel’s lifecycle state.
|
IPSecConnectionTunnel.Builder |
natTranslationEnabled(IPSecConnectionTunnel.NatTranslationEnabled 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. |
IPSecConnectionTunnel.Builder |
oracleCanInitiate(IPSecConnectionTunnel.OracleCanInitiate 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.
|
IPSecConnectionTunnel.Builder |
phaseOneDetails(TunnelPhaseOneDetails phaseOneDetails) |
IPSecConnectionTunnel.Builder |
phaseTwoDetails(TunnelPhaseTwoDetails phaseTwoDetails) |
IPSecConnectionTunnel.Builder |
routing(IPSecConnectionTunnel.Routing routing)
The type of routing used for this tunnel (BGP dynamic routing, static routing, or
policy-based routing).
|
IPSecConnectionTunnel.Builder |
status(IPSecConnectionTunnel.Status status)
The status of the tunnel based on IPSec protocol characteristics.
|
IPSecConnectionTunnel.Builder |
timeCreated(Date timeCreated)
The date and time the IPSec tunnel was created, in the format defined by
RFC3339.
|
IPSecConnectionTunnel.Builder |
timeStatusUpdated(Date timeStatusUpdated)
When the status of the IPSec tunnel last changed, in the format defined by
RFC3339.
|
IPSecConnectionTunnel.Builder |
vpnIp(String vpnIp)
The IP address of the Oracle VPN headend for the connection.
|
public IPSecConnectionTunnel.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the tunnel.
compartmentId
- the value to setpublic IPSecConnectionTunnel.Builder id(String id)
The OCID of the tunnel.
id
- the value to setpublic IPSecConnectionTunnel.Builder vpnIp(String vpnIp)
The IP address of the Oracle VPN headend for the connection.
Example: 203.0.113.21
vpnIp
- the value to setpublic IPSecConnectionTunnel.Builder cpeIp(String cpeIp)
The IP address of the CPE device’s VPN headend.
Example: 203.0.113.22
cpeIp
- the value to setpublic IPSecConnectionTunnel.Builder status(IPSecConnectionTunnel.Status status)
The status of the tunnel based on IPSec protocol characteristics.
status
- the value to setpublic IPSecConnectionTunnel.Builder ikeVersion(IPSecConnectionTunnel.IkeVersion ikeVersion)
Internet Key Exchange protocol version.
ikeVersion
- the value to setpublic IPSecConnectionTunnel.Builder lifecycleState(IPSecConnectionTunnel.LifecycleState lifecycleState)
The tunnel’s lifecycle state.
lifecycleState
- the value to setpublic IPSecConnectionTunnel.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic IPSecConnectionTunnel.Builder bgpSessionInfo(BgpSessionInfo bgpSessionInfo)
public IPSecConnectionTunnel.Builder encryptionDomainConfig(EncryptionDomainConfig encryptionDomainConfig)
public IPSecConnectionTunnel.Builder routing(IPSecConnectionTunnel.Routing routing)
The type of routing used for this tunnel (BGP dynamic routing, static routing, or policy-based routing).
routing
- the value to setpublic IPSecConnectionTunnel.Builder timeCreated(Date timeCreated)
The date and time the IPSec tunnel was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic IPSecConnectionTunnel.Builder timeStatusUpdated(Date timeStatusUpdated)
When the status of the IPSec tunnel last changed, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
timeStatusUpdated
- the value to setpublic IPSecConnectionTunnel.Builder oracleCanInitiate(IPSecConnectionTunnel.OracleCanInitiate 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.
oracleCanInitiate
- the value to setpublic IPSecConnectionTunnel.Builder natTranslationEnabled(IPSecConnectionTunnel.NatTranslationEnabled 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.
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.
.
natTranslationEnabled
- the value to setpublic IPSecConnectionTunnel.Builder dpdMode(IPSecConnectionTunnel.DpdMode dpdMode)
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.
dpdMode
- the value to setpublic IPSecConnectionTunnel.Builder dpdTimeoutInSec(Integer dpdTimeoutInSec)
DPD timeout in seconds.
dpdTimeoutInSec
- the value to setpublic IPSecConnectionTunnel.Builder phaseOneDetails(TunnelPhaseOneDetails phaseOneDetails)
public IPSecConnectionTunnel.Builder phaseTwoDetails(TunnelPhaseTwoDetails phaseTwoDetails)
public IPSecConnectionTunnel.Builder associatedVirtualCircuits(List<String> associatedVirtualCircuits)
The list of virtual circuit OCIDs over which your network can reach this tunnel.
associatedVirtualCircuits
- the value to setpublic IPSecConnectionTunnel build()
public IPSecConnectionTunnel.Builder copy(IPSecConnectionTunnel model)
Copyright © 2016–2024. All rights reserved.