Class UpdateIPSecConnectionTunnelDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.UpdateIPSecConnectionTunnelDetails.Builder
-
- Enclosing class:
- UpdateIPSecConnectionTunnelDetails
public static class UpdateIPSecConnectionTunnelDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public UpdateIPSecConnectionTunnelDetails.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
routing
public UpdateIPSecConnectionTunnelDetails.Builder routing(UpdateIPSecConnectionTunnelDetails.Routing routing)
The type of routing to use for this tunnel (BGP dynamic routing, static routing, or policy-based routing).- Parameters:
routing
- the value to set- Returns:
- this builder
-
ikeVersion
public UpdateIPSecConnectionTunnelDetails.Builder ikeVersion(UpdateIPSecConnectionTunnelDetails.IkeVersion ikeVersion)
Internet Key Exchange protocol version.- Parameters:
ikeVersion
- the value to set- Returns:
- this builder
-
bgpSessionConfig
public UpdateIPSecConnectionTunnelDetails.Builder bgpSessionConfig(UpdateIPSecTunnelBgpSessionDetails bgpSessionConfig)
-
oracleInitiation
public UpdateIPSecConnectionTunnelDetails.Builder oracleInitiation(UpdateIPSecConnectionTunnelDetails.OracleInitiation oracleInitiation)
Indicates whether the Oracle end of the IPSec connection is able to initiate starting up the IPSec tunnel.- Parameters:
oracleInitiation
- the value to set- Returns:
- this builder
-
natTranslationEnabled
public UpdateIPSecConnectionTunnelDetails.Builder natTranslationEnabled(UpdateIPSecConnectionTunnelDetails.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.
- Parameters:
natTranslationEnabled
- the value to set- Returns:
- this builder
-
phaseOneConfig
public UpdateIPSecConnectionTunnelDetails.Builder phaseOneConfig(PhaseOneConfigDetails phaseOneConfig)
-
phaseTwoConfig
public UpdateIPSecConnectionTunnelDetails.Builder phaseTwoConfig(PhaseTwoConfigDetails phaseTwoConfig)
-
dpdConfig
public UpdateIPSecConnectionTunnelDetails.Builder dpdConfig(DpdConfig dpdConfig)
-
encryptionDomainConfig
public UpdateIPSecConnectionTunnelDetails.Builder encryptionDomainConfig(UpdateIPSecTunnelEncryptionDomainDetails encryptionDomainConfig)
-
build
public UpdateIPSecConnectionTunnelDetails build()
-
copy
public UpdateIPSecConnectionTunnelDetails.Builder copy(UpdateIPSecConnectionTunnelDetails model)
-
-