Class UpdateIPSecTunnelBgpSessionDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.vnmonitoring.model.UpdateIPSecTunnelBgpSessionDetails
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class UpdateIPSecTunnelBgpSessionDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 Note: Objects should always be created or deserialized using theUpdateIPSecTunnelBgpSessionDetails.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 calledUpdateIPSecTunnelBgpSessionDetails.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classUpdateIPSecTunnelBgpSessionDetails.Builder
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateIPSecTunnelBgpSessionDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCustomerBgpAsn()The BGP ASN of the network on the CPE end of the BGP session.StringgetCustomerInterfaceIp()The IP address for the CPE end of the inside tunnel interface.StringgetCustomerInterfaceIpv6()The IPv6 address for the CPE end of the inside tunnel interface.StringgetOracleInterfaceIp()The IP address for the Oracle end of the inside tunnel interface.StringgetOracleInterfaceIpv6()The IPv6 address for the Oracle end of the inside tunnel interface.inthashCode()UpdateIPSecTunnelBgpSessionDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
UpdateIPSecTunnelBgpSessionDetails@Deprecated @ConstructorProperties({"oracleInterfaceIp","customerInterfaceIp","oracleInterfaceIpv6","customerInterfaceIpv6","customerBgpAsn"}) public UpdateIPSecTunnelBgpSessionDetails(String oracleInterfaceIp, String customerInterfaceIp, String oracleInterfaceIpv6, String customerInterfaceIpv6, String customerBgpAsn) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static UpdateIPSecTunnelBgpSessionDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic UpdateIPSecTunnelBgpSessionDetails.Builder toBuilder() 
 - 
getOracleInterfaceIppublic 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 - Returns:
- the value
 
 - 
getCustomerInterfaceIppublic 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 - Returns:
- the value
 
 - 
getOracleInterfaceIpv6public String getOracleInterfaceIpv6() 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 - Returns:
- the value
 
 - 
getCustomerInterfaceIpv6public String getCustomerInterfaceIpv6() 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 - Returns:
- the value
 
 - 
getCustomerBgpAsnpublic 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) - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-