public static class CreateIPSecTunnelBgpSessionDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateIPSecTunnelBgpSessionDetails |
build() |
CreateIPSecTunnelBgpSessionDetails.Builder |
copy(CreateIPSecTunnelBgpSessionDetails model) |
CreateIPSecTunnelBgpSessionDetails.Builder |
customerBgpAsn(String customerBgpAsn)
If the tunnel’s
routing attribute is set to BGP (see IPSecConnectionTunnel ), this ASN is required and used for the tunnel’s BGP session. |
CreateIPSecTunnelBgpSessionDetails.Builder |
customerInterfaceIp(String customerInterfaceIp)
The IP address for the CPE end of the inside tunnel interface.
|
CreateIPSecTunnelBgpSessionDetails.Builder |
customerInterfaceIpv6(String customerInterfaceIpv6)
The IPv6 address for the CPE end of the inside tunnel interface.
|
CreateIPSecTunnelBgpSessionDetails.Builder |
oracleInterfaceIp(String oracleInterfaceIp)
The IP address for the Oracle end of the inside tunnel interface.
|
CreateIPSecTunnelBgpSessionDetails.Builder |
oracleInterfaceIpv6(String oracleInterfaceIpv6)
The IPv6 address for the Oracle end of the inside tunnel interface.
|
public CreateIPSecTunnelBgpSessionDetails.Builder oracleInterfaceIp(String oracleInterfaceIp)
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
oracleInterfaceIp
- the value to setpublic CreateIPSecTunnelBgpSessionDetails.Builder customerInterfaceIp(String customerInterfaceIp)
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
customerInterfaceIp
- the value to setpublic CreateIPSecTunnelBgpSessionDetails.Builder oracleInterfaceIpv6(String oracleInterfaceIpv6)
The IPv6 address for the Oracle end of the inside tunnel interface. This IP address is optional.
If the tunnel's routing
attribute is set to BGP
(see IPSecConnectionTunnel
), 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.
Only subnet masks from /64 up to /127 are allowed.
Example: 2001:db8::1/64
oracleInterfaceIpv6
- the value to setpublic CreateIPSecTunnelBgpSessionDetails.Builder customerInterfaceIpv6(String customerInterfaceIpv6)
The IPv6 address for the CPE end of the inside tunnel interface. This IP address is optional.
If the tunnel's routing
attribute is set to BGP
(see IPSecConnectionTunnel
), 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.
Only subnet masks from /64 up to /127 are allowed.
Example: 2001:db8::1/64
customerInterfaceIpv6
- the value to setpublic CreateIPSecTunnelBgpSessionDetails.Builder customerBgpAsn(String customerBgpAsn)
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)
customerBgpAsn
- the value to setpublic CreateIPSecTunnelBgpSessionDetails build()
public CreateIPSecTunnelBgpSessionDetails.Builder copy(CreateIPSecTunnelBgpSessionDetails model)
Copyright © 2016–2024. All rights reserved.