@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class UpdateIPSecConnectionTunnelDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
UpdateIPSecConnectionTunnelDetails.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 UpdateIPSecConnectionTunnelDetails.Builder
, which maintain a
set of all explicitly set fields called UpdateIPSecConnectionTunnelDetails.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 |
UpdateIPSecConnectionTunnelDetails.Builder |
static class |
UpdateIPSecConnectionTunnelDetails.IkeVersion
Internet Key Exchange protocol version.
|
static class |
UpdateIPSecConnectionTunnelDetails.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 |
UpdateIPSecConnectionTunnelDetails.OracleInitiation
Indicates whether the Oracle end of the IPSec connection is able to initiate starting up the
IPSec tunnel.
|
static class |
UpdateIPSecConnectionTunnelDetails.Routing
The type of routing to use for this tunnel (BGP dynamic routing, static routing, or
policy-based routing).
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
UpdateIPSecConnectionTunnelDetails(String displayName,
UpdateIPSecConnectionTunnelDetails.Routing routing,
UpdateIPSecConnectionTunnelDetails.IkeVersion ikeVersion,
UpdateIPSecTunnelBgpSessionDetails bgpSessionConfig,
UpdateIPSecConnectionTunnelDetails.OracleInitiation oracleInitiation,
UpdateIPSecConnectionTunnelDetails.NatTranslationEnabled natTranslationEnabled,
PhaseOneConfigDetails phaseOneConfig,
PhaseTwoConfigDetails phaseTwoConfig,
DpdConfig dpdConfig,
UpdateIPSecTunnelEncryptionDomainDetails encryptionDomainConfig)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UpdateIPSecConnectionTunnelDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
UpdateIPSecTunnelBgpSessionDetails |
getBgpSessionConfig() |
String |
getDisplayName()
A user-friendly name.
|
DpdConfig |
getDpdConfig() |
UpdateIPSecTunnelEncryptionDomainDetails |
getEncryptionDomainConfig() |
UpdateIPSecConnectionTunnelDetails.IkeVersion |
getIkeVersion()
Internet Key Exchange protocol version.
|
UpdateIPSecConnectionTunnelDetails.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. |
UpdateIPSecConnectionTunnelDetails.OracleInitiation |
getOracleInitiation()
Indicates whether the Oracle end of the IPSec connection is able to initiate starting up the
IPSec tunnel.
|
PhaseOneConfigDetails |
getPhaseOneConfig() |
PhaseTwoConfigDetails |
getPhaseTwoConfig() |
UpdateIPSecConnectionTunnelDetails.Routing |
getRouting()
The type of routing to use for this tunnel (BGP dynamic routing, static routing, or
policy-based routing).
|
int |
hashCode() |
UpdateIPSecConnectionTunnelDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"displayName","routing","ikeVersion","bgpSessionConfig","oracleInitiation","natTranslationEnabled","phaseOneConfig","phaseTwoConfig","dpdConfig","encryptionDomainConfig"}) public UpdateIPSecConnectionTunnelDetails(String displayName, UpdateIPSecConnectionTunnelDetails.Routing routing, UpdateIPSecConnectionTunnelDetails.IkeVersion ikeVersion, UpdateIPSecTunnelBgpSessionDetails bgpSessionConfig, UpdateIPSecConnectionTunnelDetails.OracleInitiation oracleInitiation, UpdateIPSecConnectionTunnelDetails.NatTranslationEnabled natTranslationEnabled, PhaseOneConfigDetails phaseOneConfig, PhaseTwoConfigDetails phaseTwoConfig, DpdConfig dpdConfig, UpdateIPSecTunnelEncryptionDomainDetails encryptionDomainConfig)
public static UpdateIPSecConnectionTunnelDetails.Builder builder()
Create a new builder.
public UpdateIPSecConnectionTunnelDetails.Builder toBuilder()
public String getDisplayName()
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
public UpdateIPSecConnectionTunnelDetails.Routing getRouting()
The type of routing to use for this tunnel (BGP dynamic routing, static routing, or policy-based routing).
public UpdateIPSecConnectionTunnelDetails.IkeVersion getIkeVersion()
Internet Key Exchange protocol version.
public UpdateIPSecTunnelBgpSessionDetails getBgpSessionConfig()
public UpdateIPSecConnectionTunnelDetails.OracleInitiation getOracleInitiation()
Indicates whether the Oracle end of the IPSec connection is able to initiate starting up the IPSec tunnel.
public UpdateIPSecConnectionTunnelDetails.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 PhaseOneConfigDetails getPhaseOneConfig()
public PhaseTwoConfigDetails getPhaseTwoConfig()
public DpdConfig getDpdConfig()
public UpdateIPSecTunnelEncryptionDomainDetails getEncryptionDomainConfig()
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.