Class UpdateIPSecTunnelBgpSessionDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.vnmonitoring.model.UpdateIPSecTunnelBgpSessionDetails.Builder
 
- 
- Enclosing class:
- UpdateIPSecTunnelBgpSessionDetails
 
 public static class UpdateIPSecTunnelBgpSessionDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateIPSecTunnelBgpSessionDetailsbuild()UpdateIPSecTunnelBgpSessionDetails.Buildercopy(UpdateIPSecTunnelBgpSessionDetails model)UpdateIPSecTunnelBgpSessionDetails.BuildercustomerBgpAsn(String customerBgpAsn)The BGP ASN of the network on the CPE end of the BGP session.UpdateIPSecTunnelBgpSessionDetails.BuildercustomerInterfaceIp(String customerInterfaceIp)The IP address for the CPE end of the inside tunnel interface.UpdateIPSecTunnelBgpSessionDetails.BuildercustomerInterfaceIpv6(String customerInterfaceIpv6)The IPv6 address for the CPE end of the inside tunnel interface.UpdateIPSecTunnelBgpSessionDetails.BuilderoracleInterfaceIp(String oracleInterfaceIp)The IP address for the Oracle end of the inside tunnel interface.UpdateIPSecTunnelBgpSessionDetails.BuilderoracleInterfaceIpv6(String oracleInterfaceIpv6)The IPv6 address for the Oracle end of the inside tunnel interface.
 
- 
- 
- 
Method Detail- 
oracleInterfaceIppublic UpdateIPSecTunnelBgpSessionDetails.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 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 - Parameters:
- oracleInterfaceIp- the value to set
- Returns:
- this builder
 
 - 
customerInterfaceIppublic UpdateIPSecTunnelBgpSessionDetails.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 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 - Parameters:
- customerInterfaceIp- the value to set
- Returns:
- this builder
 
 - 
oracleInterfaceIpv6public UpdateIPSecTunnelBgpSessionDetails.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 - Parameters:
- oracleInterfaceIpv6- the value to set
- Returns:
- this builder
 
 - 
customerInterfaceIpv6public UpdateIPSecTunnelBgpSessionDetails.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 - Parameters:
- customerInterfaceIpv6- the value to set
- Returns:
- this builder
 
 - 
customerBgpAsnpublic UpdateIPSecTunnelBgpSessionDetails.Builder customerBgpAsn(String customerBgpAsn) 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) - Parameters:
- customerBgpAsn- the value to set
- Returns:
- this builder
 
 - 
buildpublic UpdateIPSecTunnelBgpSessionDetails build() 
 - 
copypublic UpdateIPSecTunnelBgpSessionDetails.Builder copy(UpdateIPSecTunnelBgpSessionDetails model) 
 
- 
 
-