Class FlexTunnelDrgAttachmentNetworkDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.vnmonitoring.model.DrgAttachmentNetworkDetails
-
- com.oracle.bmc.vnmonitoring.model.FlexTunnelDrgAttachmentNetworkDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class FlexTunnelDrgAttachmentNetworkDetails extends DrgAttachmentNetworkDetailsSpecifies the flex tunnel attached to the DRG.
Note: Objects should always be created or deserialized using theFlexTunnelDrgAttachmentNetworkDetails.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 theFlexTunnelDrgAttachmentNetworkDetails.Builder, which maintain a set of all explicitly set fields calledFlexTunnelDrgAttachmentNetworkDetails.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 classFlexTunnelDrgAttachmentNetworkDetails.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.vnmonitoring.model.DrgAttachmentNetworkDetails
DrgAttachmentNetworkDetails.Type
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FlexTunnelDrgAttachmentNetworkDetails.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.StringgetRegionalOciAsn()The BGP ASN to use for the Flex Tunnel connection’s route targetStringgetTransportAttachmentId()The OCID of the transport drg attachment of the flex tunnel.inthashCode()FlexTunnelDrgAttachmentNetworkDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.vnmonitoring.model.DrgAttachmentNetworkDetails
getId
-
-
-
-
Method Detail
-
builder
public static FlexTunnelDrgAttachmentNetworkDetails.Builder builder()
Create a new builder.
-
toBuilder
public FlexTunnelDrgAttachmentNetworkDetails.Builder toBuilder()
-
getTransportAttachmentId
public String getTransportAttachmentId()
The OCID of the transport drg attachment of the flex tunnel.- Returns:
- the value
-
getRegionalOciAsn
public String getRegionalOciAsn()
The BGP ASN to use for the Flex Tunnel connection’s 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
-
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
-
-