Class RemotePeeringConnectionDrgAttachmentNetworkDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.vnmonitoring.model.DrgAttachmentNetworkDetails
-
- com.oracle.bmc.vnmonitoring.model.RemotePeeringConnectionDrgAttachmentNetworkDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class RemotePeeringConnectionDrgAttachmentNetworkDetails extends DrgAttachmentNetworkDetailsSpecifies the DRG attachment to another DRG.
Note: Objects should always be created or deserialized using theRemotePeeringConnectionDrgAttachmentNetworkDetails.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 theRemotePeeringConnectionDrgAttachmentNetworkDetails.Builder, which maintain a set of all explicitly set fields calledRemotePeeringConnectionDrgAttachmentNetworkDetails.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 Summary
Nested Classes Modifier and Type Class Description static classRemotePeeringConnectionDrgAttachmentNetworkDetails.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.vnmonitoring.model.DrgAttachmentNetworkDetails
DrgAttachmentNetworkDetails.Type
-
-
Constructor Summary
Constructors Constructor Description RemotePeeringConnectionDrgAttachmentNetworkDetails(String id, String peerRegionName, String peerAttachmentRouteTarget, String importRouteTarget, String exportRouteTarget, Integer mplsLabel, String regionalOciAsn, String ingressVip)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RemotePeeringConnectionDrgAttachmentNetworkDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetExportRouteTarget()Routes which are exported to the attachment are exported to the route reflectors with the route target set to the value of the attachment’s export route target.StringgetImportRouteTarget()Routes which may be imported from the attachment (subject to import policy) appear in the route reflectors tagged with the attachment’s import route target.StringgetIngressVip()IPv4 address used to encapsulate ingress traffic to the DRG through this attachmentIntegergetMplsLabel()The MPLS label of the DRG attachment.StringgetPeerAttachmentRouteTarget()The attachment route target.StringgetPeerRegionName()The remote Oracle Cloud Infrastructure region name.StringgetRegionalOciAsn()The BGP ASN to use for the IPSec connection’s route target.inthashCode()RemotePeeringConnectionDrgAttachmentNetworkDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.vnmonitoring.model.DrgAttachmentNetworkDetails
getId
-
-
-
-
Constructor Detail
-
RemotePeeringConnectionDrgAttachmentNetworkDetails
@Deprecated public RemotePeeringConnectionDrgAttachmentNetworkDetails(String id, String peerRegionName, String peerAttachmentRouteTarget, String importRouteTarget, String exportRouteTarget, Integer mplsLabel, String regionalOciAsn, String ingressVip)
Deprecated.
-
-
Method Detail
-
builder
public static RemotePeeringConnectionDrgAttachmentNetworkDetails.Builder builder()
Create a new builder.
-
toBuilder
public RemotePeeringConnectionDrgAttachmentNetworkDetails.Builder toBuilder()
-
getPeerRegionName
public String getPeerRegionName()
The remote Oracle Cloud Infrastructure region name.- Returns:
- the value
-
getPeerAttachmentRouteTarget
public String getPeerAttachmentRouteTarget()
The attachment route target.- Returns:
- the value
-
getImportRouteTarget
public String getImportRouteTarget()
Routes which may be imported from the attachment (subject to import policy) appear in the route reflectors tagged with the attachment’s import route target.- Returns:
- the value
-
getExportRouteTarget
public String getExportRouteTarget()
Routes which are exported to the attachment are exported to the route reflectors with the route target set to the value of the attachment’s export route target.- Returns:
- the value
-
getMplsLabel
public Integer getMplsLabel()
The MPLS label of the DRG attachment.- Returns:
- the value
-
getRegionalOciAsn
public String getRegionalOciAsn()
The BGP ASN to use for the IPSec connection’s route target.- Returns:
- the value
-
getIngressVip
public String getIngressVip()
IPv4 address used to encapsulate ingress traffic to the DRG through this attachment- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classDrgAttachmentNetworkDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classDrgAttachmentNetworkDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classDrgAttachmentNetworkDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDrgAttachmentNetworkDetails
-
-