@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class TopologyRoutesToEntityRelationship extends TopologyEntityRelationship
Defines the routesTo
relationship between virtual network topology entities. A RoutesTo
relationship is defined when a routing table and a routing rule are used to govern how
to route traffic from one entity to another. For example, a DRG might have a routing rule to send
certain traffic to an LPG.
Note: Objects should always be created or deserialized using the TopologyRoutesToEntityRelationship.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 TopologyRoutesToEntityRelationship.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
TopologyRoutesToEntityRelationship.Builder |
TopologyEntityRelationship.Type
Constructor and Description |
---|
TopologyRoutesToEntityRelationship(String id1,
String id2,
TopologyRoutesToRelationshipDetails routeRuleDetails)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static TopologyRoutesToEntityRelationship.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
TopologyRoutesToRelationshipDetails |
getRouteRuleDetails() |
int |
hashCode() |
TopologyRoutesToEntityRelationship.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getId1, getId2
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public TopologyRoutesToEntityRelationship(String id1, String id2, TopologyRoutesToRelationshipDetails routeRuleDetails)
public static TopologyRoutesToEntityRelationship.Builder builder()
Create a new builder.
public TopologyRoutesToEntityRelationship.Builder toBuilder()
public TopologyRoutesToRelationshipDetails getRouteRuleDetails()
public String toString()
toString
in class TopologyEntityRelationship
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class TopologyEntityRelationship
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class TopologyEntityRelationship
public int hashCode()
hashCode
in class TopologyEntityRelationship
Copyright © 2016–2023. All rights reserved.