@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CreateIPSecConnectionTunnelDetails extends Object
Note: Objects should always be created or deserialized using the CreateIPSecConnectionTunnelDetails.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 called __explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take __explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
CreateIPSecConnectionTunnelDetails.Builder |
static class |
CreateIPSecConnectionTunnelDetails.IkeVersion
Internet Key Exchange protocol version.
|
static class |
CreateIPSecConnectionTunnelDetails.Routing
The type of routing to use for this tunnel (either BGP dynamic routing or static routing).
|
Constructor and Description |
---|
CreateIPSecConnectionTunnelDetails(String displayName,
CreateIPSecConnectionTunnelDetails.Routing routing,
CreateIPSecConnectionTunnelDetails.IkeVersion ikeVersion,
String sharedSecret,
CreateIPSecTunnelBgpSessionDetails bgpSessionConfig)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateIPSecConnectionTunnelDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
CreateIPSecTunnelBgpSessionDetails |
getBgpSessionConfig()
Information for establishing a BGP session for the IPSec tunnel.
|
String |
getDisplayName()
A user-friendly name.
|
CreateIPSecConnectionTunnelDetails.IkeVersion |
getIkeVersion()
Internet Key Exchange protocol version.
|
CreateIPSecConnectionTunnelDetails.Routing |
getRouting()
The type of routing to use for this tunnel (either BGP dynamic routing or static routing).
|
String |
getSharedSecret()
The shared secret (pre-shared key) to use for the IPSec tunnel.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"displayName","routing","ikeVersion","sharedSecret","bgpSessionConfig"}) @Deprecated public CreateIPSecConnectionTunnelDetails(String displayName, CreateIPSecConnectionTunnelDetails.Routing routing, CreateIPSecConnectionTunnelDetails.IkeVersion ikeVersion, String sharedSecret, CreateIPSecTunnelBgpSessionDetails bgpSessionConfig)
public static CreateIPSecConnectionTunnelDetails.Builder builder()
Create a new builder.
public String getDisplayName()
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
public CreateIPSecConnectionTunnelDetails.Routing getRouting()
The type of routing to use for this tunnel (either BGP dynamic routing or static routing).
public CreateIPSecConnectionTunnelDetails.IkeVersion getIkeVersion()
Internet Key Exchange protocol version.
public 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
.
Example: EXAMPLEToUis6j1cp8GdVQxcmdfMO0yXMLilZTbYCMDGu4V8o
public CreateIPSecTunnelBgpSessionDetails getBgpSessionConfig()
Information for establishing a BGP session for the IPSec tunnel. Required if the tunnel uses BGP dynamic routing.
If the tunnel instead uses static routing, you may optionally provide this object and set an IP address for one or both ends of the IPSec tunnel for the purposes of troubleshooting or monitoring the tunnel.
Copyright © 2016–2020. All rights reserved.