public static class CreateIPSecConnectionTunnelDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateIPSecConnectionTunnelDetails.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 CreateIPSecConnectionTunnelDetails.Builder routing(CreateIPSecConnectionTunnelDetails.Routing routing)
The type of routing to use for this tunnel (BGP dynamic routing, static routing, or policy-based routing).
routing
- the value to setpublic CreateIPSecConnectionTunnelDetails.Builder ikeVersion(CreateIPSecConnectionTunnelDetails.IkeVersion ikeVersion)
Internet Key Exchange protocol version.
ikeVersion
- the value to setpublic CreateIPSecConnectionTunnelDetails.Builder sharedSecret(String sharedSecret)
The shared secret (pre-shared key) to use for the IPSec tunnel. Only numbers, letters,
and spaces are allowed. If you don’t provide a value, Oracle generates a value for you.
You can specify your own shared secret later if you like with updateIPSecConnectionTunnelSharedSecret
.
sharedSecret
- the value to setpublic CreateIPSecConnectionTunnelDetails.Builder bgpSessionConfig(CreateIPSecTunnelBgpSessionDetails bgpSessionConfig)
public CreateIPSecConnectionTunnelDetails.Builder oracleInitiation(CreateIPSecConnectionTunnelDetails.OracleInitiation oracleInitiation)
Indicates whether the Oracle end of the IPSec connection is able to initiate starting up the IPSec tunnel.
oracleInitiation
- the value to setpublic CreateIPSecConnectionTunnelDetails.Builder natTranslationEnabled(CreateIPSecConnectionTunnelDetails.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 CreateIPSecConnectionTunnelDetails.Builder phaseOneConfig(PhaseOneConfigDetails phaseOneConfig)
public CreateIPSecConnectionTunnelDetails.Builder phaseTwoConfig(PhaseTwoConfigDetails phaseTwoConfig)
public CreateIPSecConnectionTunnelDetails.Builder dpdConfig(DpdConfig dpdConfig)
public CreateIPSecConnectionTunnelDetails.Builder oracleTunnelIp(String oracleTunnelIp)
The headend IP that you can choose on the Oracle side to terminate your private IPSec tunnel.
oracleTunnelIp
- the value to setpublic CreateIPSecConnectionTunnelDetails.Builder associatedVirtualCircuits(List<String> associatedVirtualCircuits)
The list of virtual circuit OCIDs over which your network can reach this tunnel.
associatedVirtualCircuits
- the value to setpublic CreateIPSecConnectionTunnelDetails.Builder drgRouteTableId(String drgRouteTableId)
The OCID of the DRG route table assigned to this attachment.
The DRG route table manages traffic inside the DRG.
drgRouteTableId
- the value to setpublic CreateIPSecConnectionTunnelDetails.Builder encryptionDomainConfig(CreateIPSecTunnelEncryptionDomainDetails encryptionDomainConfig)
public CreateIPSecConnectionTunnelDetails build()
public CreateIPSecConnectionTunnelDetails.Builder copy(CreateIPSecConnectionTunnelDetails model)
Copyright © 2016–2024. All rights reserved.