@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class UpdateIPSecTunnelBgpSessionDetails extends Object
UpdateIPSecTunnelBgpSessionDetails.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 UpdateIPSecTunnelBgpSessionDetails.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 |
UpdateIPSecTunnelBgpSessionDetails.Builder |
Constructor and Description |
---|
UpdateIPSecTunnelBgpSessionDetails(String oracleInterfaceIp,
String customerInterfaceIp,
String customerBgpAsn)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UpdateIPSecTunnelBgpSessionDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCustomerBgpAsn()
The BGP ASN of the network on the CPE end of the 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() |
UpdateIPSecTunnelBgpSessionDetails.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"oracleInterfaceIp","customerInterfaceIp","customerBgpAsn"}) @Deprecated public UpdateIPSecTunnelBgpSessionDetails(String oracleInterfaceIp, String customerInterfaceIp, String customerBgpAsn)
public static UpdateIPSecTunnelBgpSessionDetails.Builder builder()
Create a new builder.
public UpdateIPSecTunnelBgpSessionDetails.Builder toBuilder()
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 updateIPSecConnectionTunnelDetails
), this IP address
is used for the tunnel's BGP session.
If `routing` is instead set to `STATIC`, you can set this IP address to troubleshoot or monitor the tunnel.
The value must be a /30 or /31.
If you are switching the tunnel from using BGP dynamic routing to static routing and want to remove the value for `oracleInterfaceIp`, you can set the value to an empty string.
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 updateIPSecConnectionTunnelDetails
), this IP address
is used for the tunnel's BGP session.
If `routing` is instead set to `STATIC`, you can set this IP address to troubleshoot or monitor the tunnel.
The value must be a /30 or /31.
If you are switching the tunnel from using BGP dynamic routing to static routing and want to remove the value for `customerInterfaceIp`, you can set the value to an empty string.
Example: `10.0.0.5/31`
public String getCustomerBgpAsn()
The BGP 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 you are switching the tunnel from using BGP dynamic routing to static routing, the `customerBgpAsn` must be null.
Example: `12345` (2-byte) or `1587232876` (4-byte)
Copyright © 2016–2021. All rights reserved.