Class LoopBackDrgAttachmentNetworkDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.vnmonitoring.model.DrgAttachmentNetworkDetails
-
- com.oracle.bmc.vnmonitoring.model.LoopBackDrgAttachmentNetworkDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class LoopBackDrgAttachmentNetworkDetails extends DrgAttachmentNetworkDetailsSpecifies the loopback attachment on the DRG.A loopback attachment can be used to terminate a virtual circuit that is carrying an IPSec tunnel, routing traffic directly to the IPSec tunnel attachment where the tunnel can terminate.
Note: Objects should always be created or deserialized using theLoopBackDrgAttachmentNetworkDetails.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 theLoopBackDrgAttachmentNetworkDetails.Builder, which maintain a set of all explicitly set fields calledLoopBackDrgAttachmentNetworkDetails.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 classLoopBackDrgAttachmentNetworkDetails.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 LoopBackDrgAttachmentNetworkDetails.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.List<String>getIds()The OCID of the target IPSec tunnel attachment.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.IntegergetMplsLabel()The MPLS label of the DRG attachment.inthashCode()LoopBackDrgAttachmentNetworkDetails.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 LoopBackDrgAttachmentNetworkDetails.Builder builder()
Create a new builder.
-
toBuilder
public LoopBackDrgAttachmentNetworkDetails.Builder toBuilder()
-
getIds
public List<String> getIds()
The OCID of the target IPSec tunnel attachment.- Returns:
- the value
-
getMplsLabel
public Integer getMplsLabel()
The MPLS label of the DRG attachment.- 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
-
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
-
-