Class CrossConnectMappingDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.vnmonitoring.model.CrossConnectMappingDetails
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CrossConnectMappingDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelFor use with Oracle Cloud Infrastructure FastConnect.Each VirtualCircuitruns on one or more cross-connects or cross-connect groups. A CrossConnectMappingDetails contains the properties for an individual cross-connect or cross-connect group associated with a given virtual circuit.The details includes information about the cross-connect or cross-connect group, the VLAN, and the BGP peering session. 
 Note: Objects should always be created or deserialized using theCrossConnectMappingDetails.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 theCrossConnectMappingDetails.Builder, which maintain a set of all explicitly set fields calledCrossConnectMappingDetails.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 classCrossConnectMappingDetails.Builderstatic classCrossConnectMappingDetails.Ipv4BgpStatusThe state of the Ipv4 BGP session.static classCrossConnectMappingDetails.Ipv6BgpStatusThe state of the Ipv6 BGP session.
 - 
Constructor SummaryConstructors Constructor Description CrossConnectMappingDetails(String bgpMd5AuthKey, String crossConnectOrCrossConnectGroupId, String customerBgpPeeringIp, String oracleBgpPeeringIp, String customerBgpPeeringIpv6, String oracleBgpPeeringIpv6, Integer vlan, CrossConnectMappingDetails.Ipv4BgpStatus ipv4BgpStatus, CrossConnectMappingDetails.Ipv6BgpStatus ipv6BgpStatus, String ociLogicalDeviceName)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CrossConnectMappingDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetBgpMd5AuthKey()The key for BGP MD5 authentication.StringgetCrossConnectOrCrossConnectGroupId()The OCID of the cross-connect or cross-connect group for this mapping.StringgetCustomerBgpPeeringIp()The BGP IPv4 address for the router on the other end of the BGP session from Oracle.StringgetCustomerBgpPeeringIpv6()The BGP IPv6 address for the router on the other end of the BGP session from Oracle.CrossConnectMappingDetails.Ipv4BgpStatusgetIpv4BgpStatus()The state of the Ipv4 BGP session.CrossConnectMappingDetails.Ipv6BgpStatusgetIpv6BgpStatus()The state of the Ipv6 BGP session.StringgetOciLogicalDeviceName()The FastConnect device that terminates the logical connection.StringgetOracleBgpPeeringIp()The IPv4 address for Oracle’s end of the BGP session.StringgetOracleBgpPeeringIpv6()The IPv6 address for Oracle’s end of the BGP session.IntegergetVlan()The number of the specific VLAN (on the cross-connect or cross-connect group) that is assigned to this virtual circuit.inthashCode()CrossConnectMappingDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
CrossConnectMappingDetails@Deprecated @ConstructorProperties({"bgpMd5AuthKey","crossConnectOrCrossConnectGroupId","customerBgpPeeringIp","oracleBgpPeeringIp","customerBgpPeeringIpv6","oracleBgpPeeringIpv6","vlan","ipv4BgpStatus","ipv6BgpStatus","ociLogicalDeviceName"}) public CrossConnectMappingDetails(String bgpMd5AuthKey, String crossConnectOrCrossConnectGroupId, String customerBgpPeeringIp, String oracleBgpPeeringIp, String customerBgpPeeringIpv6, String oracleBgpPeeringIpv6, Integer vlan, CrossConnectMappingDetails.Ipv4BgpStatus ipv4BgpStatus, CrossConnectMappingDetails.Ipv6BgpStatus ipv6BgpStatus, String ociLogicalDeviceName) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static CrossConnectMappingDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic CrossConnectMappingDetails.Builder toBuilder() 
 - 
getBgpMd5AuthKeypublic String getBgpMd5AuthKey() The key for BGP MD5 authentication.Only applicable if your system requires MD5 authentication. If empty or not set (null), that means you don’t use BGP MD5 authentication. - Returns:
- the value
 
 - 
getCrossConnectOrCrossConnectGroupIdpublic String getCrossConnectOrCrossConnectGroupId() The OCID of the cross-connect or cross-connect group for this mapping.Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider). - Returns:
- the value
 
 - 
getCustomerBgpPeeringIppublic String getCustomerBgpPeeringIp() The BGP IPv4 address for the router on the other end of the BGP session from Oracle.Specified by the owner of that router. If the session goes from Oracle to a customer, this is the BGP IPv4 address of the customer’s edge router. If the session goes from Oracle to a provider, this is the BGP IPv4 address of the provider’s edge router. Must use a subnet mask from /28 to /31. There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses. Example: 10.0.0.18/31 - Returns:
- the value
 
 - 
getOracleBgpPeeringIppublic String getOracleBgpPeeringIp() The IPv4 address for Oracle’s end of the BGP session.Must use a subnet mask from /28 to /31. If the session goes from Oracle to a customer’s edge router, the customer specifies this information. If the session goes from Oracle to a provider’s edge router, the provider specifies this. There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses. Example: 10.0.0.19/31 - Returns:
- the value
 
 - 
getCustomerBgpPeeringIpv6public String getCustomerBgpPeeringIpv6() The BGP IPv6 address for the router on the other end of the BGP session from Oracle.Specified by the owner of that router. If the session goes from Oracle to a customer, this is the BGP IPv6 address of the customer’s edge router. If the session goes from Oracle to a provider, this is the BGP IPv6 address of the provider’s edge router. Only subnet masks from /64 up to /127 are allowed. There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses. Example: 2001:db8::1/64 - Returns:
- the value
 
 - 
getOracleBgpPeeringIpv6public String getOracleBgpPeeringIpv6() The IPv6 address for Oracle’s end of the BGP session.Only subnet masks from /64 up to /127 are allowed. If the session goes from Oracle to a customer’s edge router, the customer specifies this information. If the session goes from Oracle to a provider’s edge router, the provider specifies this. There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses. Example: 2001:db8::2/64 - Returns:
- the value
 
 - 
getVlanpublic Integer getVlan() The number of the specific VLAN (on the cross-connect or cross-connect group) that is assigned to this virtual circuit.Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider). Example: 200 - Returns:
- the value
 
 - 
getIpv4BgpStatuspublic CrossConnectMappingDetails.Ipv4BgpStatus getIpv4BgpStatus() The state of the Ipv4 BGP session.- Returns:
- the value
 
 - 
getIpv6BgpStatuspublic CrossConnectMappingDetails.Ipv6BgpStatus getIpv6BgpStatus() The state of the Ipv6 BGP session.- Returns:
- the value
 
 - 
getOciLogicalDeviceNamepublic String getOciLogicalDeviceName() The FastConnect device that terminates the logical connection.- 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
 
 
- 
 
-