Class UpdateIPSecConnectionTunnelDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.vnmonitoring.model.UpdateIPSecConnectionTunnelDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class UpdateIPSecConnectionTunnelDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Note: Objects should always be created or deserialized using theUpdateIPSecConnectionTunnelDetails.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 calledUpdateIPSecConnectionTunnelDetails.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateIPSecConnectionTunnelDetails.Builderstatic classUpdateIPSecConnectionTunnelDetails.IkeVersionInternet Key Exchange protocol version.static classUpdateIPSecConnectionTunnelDetails.NatTranslationEnabledBy 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 classUpdateIPSecConnectionTunnelDetails.OracleInitiationIndicates whether the Oracle end of the IPSec connection is able to initiate starting up the IPSec tunnel.static classUpdateIPSecConnectionTunnelDetails.RoutingThe type of routing to use for this tunnel (BGP dynamic routing, static routing, or policy-based routing).
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateIPSecConnectionTunnelDetails.Builderbuilder()Create a new builder.booleanequals(Object o)UpdateIPSecTunnelBgpSessionDetailsgetBgpSessionConfig()StringgetDisplayName()A user-friendly name.DpdConfiggetDpdConfig()UpdateIPSecTunnelEncryptionDomainDetailsgetEncryptionDomainConfig()UpdateIPSecConnectionTunnelDetails.IkeVersiongetIkeVersion()Internet Key Exchange protocol version.UpdateIPSecConnectionTunnelDetails.NatTranslationEnabledgetNatTranslationEnabled()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.OracleInitiationgetOracleInitiation()Indicates whether the Oracle end of the IPSec connection is able to initiate starting up the IPSec tunnel.PhaseOneConfigDetailsgetPhaseOneConfig()PhaseTwoConfigDetailsgetPhaseTwoConfig()UpdateIPSecConnectionTunnelDetails.RoutinggetRouting()The type of routing to use for this tunnel (BGP dynamic routing, static routing, or policy-based routing).inthashCode()UpdateIPSecConnectionTunnelDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
UpdateIPSecConnectionTunnelDetails
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
builder
public static UpdateIPSecConnectionTunnelDetails.Builder builder()
Create a new builder.
-
toBuilder
public UpdateIPSecConnectionTunnelDetails.Builder toBuilder()
-
getDisplayName
public String getDisplayName()
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns:
- the value
-
getRouting
public UpdateIPSecConnectionTunnelDetails.Routing getRouting()
The type of routing to use for this tunnel (BGP dynamic routing, static routing, or policy-based routing).- Returns:
- the value
-
getIkeVersion
public UpdateIPSecConnectionTunnelDetails.IkeVersion getIkeVersion()
Internet Key Exchange protocol version.- Returns:
- the value
-
getBgpSessionConfig
public UpdateIPSecTunnelBgpSessionDetails getBgpSessionConfig()
-
getOracleInitiation
public UpdateIPSecConnectionTunnelDetails.OracleInitiation getOracleInitiation()
Indicates whether the Oracle end of the IPSec connection is able to initiate starting up the IPSec tunnel.- Returns:
- the value
-
getNatTranslationEnabled
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.
- Returns:
- the value
-
getPhaseOneConfig
public PhaseOneConfigDetails getPhaseOneConfig()
-
getPhaseTwoConfig
public PhaseTwoConfigDetails getPhaseTwoConfig()
-
getDpdConfig
public DpdConfig getDpdConfig()
-
getEncryptionDomainConfig
public UpdateIPSecTunnelEncryptionDomainDetails getEncryptionDomainConfig()
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-