Class CreateIPSecConnectionTunnelDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.vnmonitoring.model.CreateIPSecConnectionTunnelDetails
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CreateIPSecConnectionTunnelDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 Note: Objects should always be created or deserialized using theCreateIPSecConnectionTunnelDetails.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 CreateIPSecConnectionTunnelDetails.Builder, which maintain a set of all explicitly set fields calledCreateIPSecConnectionTunnelDetails.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 SummaryNested Classes Modifier and Type Class Description static classCreateIPSecConnectionTunnelDetails.Builderstatic classCreateIPSecConnectionTunnelDetails.IkeVersionInternet Key Exchange protocol version.static classCreateIPSecConnectionTunnelDetails.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 classCreateIPSecConnectionTunnelDetails.OracleInitiationIndicates whether the Oracle end of the IPSec connection is able to initiate starting up the IPSec tunnel.static classCreateIPSecConnectionTunnelDetails.RoutingThe type of routing to use for this tunnel (BGP dynamic routing, static routing, or policy-based routing).
 - 
Constructor SummaryConstructors Constructor Description CreateIPSecConnectionTunnelDetails(String displayName, CreateIPSecConnectionTunnelDetails.Routing routing, CreateIPSecConnectionTunnelDetails.IkeVersion ikeVersion, String sharedSecret, CreateIPSecTunnelBgpSessionDetails bgpSessionConfig, CreateIPSecConnectionTunnelDetails.OracleInitiation oracleInitiation, CreateIPSecConnectionTunnelDetails.NatTranslationEnabled natTranslationEnabled, PhaseOneConfigDetails phaseOneConfig, PhaseTwoConfigDetails phaseTwoConfig, DpdConfig dpdConfig, String oracleTunnelIp, List<String> associatedVirtualCircuits, String drgRouteTableId, CreateIPSecTunnelEncryptionDomainDetails encryptionDomainConfig)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateIPSecConnectionTunnelDetails.Builderbuilder()Create a new builder.booleanequals(Object o)List<String>getAssociatedVirtualCircuits()The list of virtual circuit OCIDs over which your network can reach this tunnel.CreateIPSecTunnelBgpSessionDetailsgetBgpSessionConfig()StringgetDisplayName()A user-friendly name.DpdConfiggetDpdConfig()StringgetDrgRouteTableId()The OCID of the DRG route table assigned to this attachment.CreateIPSecTunnelEncryptionDomainDetailsgetEncryptionDomainConfig()CreateIPSecConnectionTunnelDetails.IkeVersiongetIkeVersion()Internet Key Exchange protocol version.CreateIPSecConnectionTunnelDetails.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.CreateIPSecConnectionTunnelDetails.OracleInitiationgetOracleInitiation()Indicates whether the Oracle end of the IPSec connection is able to initiate starting up the IPSec tunnel.StringgetOracleTunnelIp()The headend IP that you can choose on the Oracle side to terminate your private IPSec tunnel.PhaseOneConfigDetailsgetPhaseOneConfig()PhaseTwoConfigDetailsgetPhaseTwoConfig()CreateIPSecConnectionTunnelDetails.RoutinggetRouting()The type of routing to use for this tunnel (BGP dynamic routing, static routing, or policy-based routing).StringgetSharedSecret()The shared secret (pre-shared key) to use for the IPSec tunnel.inthashCode()CreateIPSecConnectionTunnelDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
CreateIPSecConnectionTunnelDetails@Deprecated @ConstructorProperties({"displayName","routing","ikeVersion","sharedSecret","bgpSessionConfig","oracleInitiation","natTranslationEnabled","phaseOneConfig","phaseTwoConfig","dpdConfig","oracleTunnelIp","associatedVirtualCircuits","drgRouteTableId","encryptionDomainConfig"}) public CreateIPSecConnectionTunnelDetails(String displayName, CreateIPSecConnectionTunnelDetails.Routing routing, CreateIPSecConnectionTunnelDetails.IkeVersion ikeVersion, String sharedSecret, CreateIPSecTunnelBgpSessionDetails bgpSessionConfig, CreateIPSecConnectionTunnelDetails.OracleInitiation oracleInitiation, CreateIPSecConnectionTunnelDetails.NatTranslationEnabled natTranslationEnabled, PhaseOneConfigDetails phaseOneConfig, PhaseTwoConfigDetails phaseTwoConfig, DpdConfig dpdConfig, String oracleTunnelIp, List<String> associatedVirtualCircuits, String drgRouteTableId, CreateIPSecTunnelEncryptionDomainDetails encryptionDomainConfig) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static CreateIPSecConnectionTunnelDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic CreateIPSecConnectionTunnelDetails.Builder toBuilder() 
 - 
getDisplayNamepublic String getDisplayName() A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information. - Returns:
- the value
 
 - 
getRoutingpublic CreateIPSecConnectionTunnelDetails.Routing getRouting() The type of routing to use for this tunnel (BGP dynamic routing, static routing, or policy-based routing).- Returns:
- the value
 
 - 
getIkeVersionpublic CreateIPSecConnectionTunnelDetails.IkeVersion getIkeVersion() Internet Key Exchange protocol version.- Returns:
- the value
 
 - 
getSharedSecretpublic String getSharedSecret() 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.- Returns:
- the value
 
 - 
getBgpSessionConfigpublic CreateIPSecTunnelBgpSessionDetails getBgpSessionConfig() 
 - 
getOracleInitiationpublic CreateIPSecConnectionTunnelDetails.OracleInitiation getOracleInitiation() Indicates whether the Oracle end of the IPSec connection is able to initiate starting up the IPSec tunnel.- Returns:
- the value
 
 - 
getNatTranslationEnabledpublic CreateIPSecConnectionTunnelDetails.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
 
 - 
getPhaseOneConfigpublic PhaseOneConfigDetails getPhaseOneConfig() 
 - 
getPhaseTwoConfigpublic PhaseTwoConfigDetails getPhaseTwoConfig() 
 - 
getDpdConfigpublic DpdConfig getDpdConfig() 
 - 
getOracleTunnelIppublic String getOracleTunnelIp() The headend IP that you can choose on the Oracle side to terminate your private IPSec tunnel.- Returns:
- the value
 
 - 
getAssociatedVirtualCircuitspublic List<String> getAssociatedVirtualCircuits() The list of virtual circuit OCIDs over which your network can reach this tunnel.- Returns:
- the value
 
 - 
getDrgRouteTableIdpublic String getDrgRouteTableId() The OCID of the DRG route table assigned to this attachment.The DRG route table manages traffic inside the DRG. - Returns:
- the value
 
 - 
getEncryptionDomainConfigpublic CreateIPSecTunnelEncryptionDomainDetails getEncryptionDomainConfig() 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-