@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CreateIPSecTunnelBgpSessionDetails extends Object
Note: Objects should always be created or deserialized using the CreateIPSecTunnelBgpSessionDetails.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 CreateIPSecTunnelBgpSessionDetails.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 |
CreateIPSecTunnelBgpSessionDetails.Builder |
Constructor and Description |
---|
CreateIPSecTunnelBgpSessionDetails(String oracleInterfaceIp,
String customerInterfaceIp,
String customerBgpAsn)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateIPSecTunnelBgpSessionDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCustomerBgpAsn()
If the tunnel’s
routing attribute is set to BGP (see IPSecConnectionTunnel ), this ASN is required and used for the tunnel’s BGP session. |
String |
getCustomerInterfaceIp()
The IP address for the CPE end of the inside tunnel interface.
|
String |
getOracleInterfaceIp()
The IP address for the Oracle end of the inside tunnel interface.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"oracleInterfaceIp","customerInterfaceIp","customerBgpAsn"}) @Deprecated public CreateIPSecTunnelBgpSessionDetails(String oracleInterfaceIp, String customerInterfaceIp, String customerBgpAsn)
public static CreateIPSecTunnelBgpSessionDetails.Builder builder()
Create a new builder.
public String getOracleInterfaceIp()
The IP address for the Oracle end of the inside tunnel interface.
If the tunnel’s routing
attribute is set to BGP
(see IPSecConnectionTunnel
), this IP address is required and used for the tunnel’s BGP session.
If routing
is instead set to STATIC
, this IP address is optional. You can set this IP address to troubleshoot or monitor the tunnel.
The value must be a /30 or /31.
Example: 10.0.0.4/31
public String getCustomerInterfaceIp()
The IP address for the CPE end of the inside tunnel interface.
If the tunnel’s routing
attribute is set to BGP
(see IPSecConnectionTunnel
), this IP address is required and used for the tunnel’s BGP session.
If routing
is instead set to STATIC
, this IP address is optional. You can set this IP address to troubleshoot or monitor the tunnel.
The value must be a /30 or /31.
Example: 10.0.0.5/31
public String getCustomerBgpAsn()
If the tunnel’s routing
attribute is set to BGP
(see IPSecConnectionTunnel
), this ASN is required and used for the tunnel’s BGP session. This is the ASN of the network on the CPE end of the BGP session. Can be a 2-byte or 4-byte ASN. Uses "asplain" format.
If the tunnel’s routing
attribute is set to STATIC
, the customerBgpAsn
must be null.
Example: 12345
(2-byte) or 1587232876
(4-byte)
Copyright © 2016–2019. All rights reserved.