Class TopologyAssociatedWithEntityRelationship
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.vnmonitoring.model.TopologyEntityRelationship
-
- com.oracle.bmc.vnmonitoring.model.TopologyAssociatedWithEntityRelationship
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class TopologyAssociatedWithEntityRelationship extends TopologyEntityRelationship
Defines the AssociatedWith relationship between virtual network topology entities.An AssociatedWith relationship is defined when there is no obvious contains relationship but entities are still related. For example, a DRG is associated with a VCN because a DRG is not managed by VCN but can be attached to a VCN.
Note: Objects should always be created or deserialized using theTopologyAssociatedWithEntityRelationship.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 theTopologyAssociatedWithEntityRelationship.Builder
, which maintain a set of all explicitly set fields calledTopologyAssociatedWithEntityRelationship.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 class
TopologyAssociatedWithEntityRelationship.Builder
-
Nested classes/interfaces inherited from class com.oracle.bmc.vnmonitoring.model.TopologyEntityRelationship
TopologyEntityRelationship.Type
-
-
Constructor Summary
Constructors Constructor Description TopologyAssociatedWithEntityRelationship(String id1, String id2, TopologyAssociatedWithRelationshipDetails associatedWithDetails)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TopologyAssociatedWithEntityRelationship.Builder
builder()
Create a new builder.boolean
equals(Object o)
TopologyAssociatedWithRelationshipDetails
getAssociatedWithDetails()
int
hashCode()
TopologyAssociatedWithEntityRelationship.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.vnmonitoring.model.TopologyEntityRelationship
getId1, getId2
-
-
-
-
Constructor Detail
-
TopologyAssociatedWithEntityRelationship
@Deprecated public TopologyAssociatedWithEntityRelationship(String id1, String id2, TopologyAssociatedWithRelationshipDetails associatedWithDetails)
Deprecated.
-
-
Method Detail
-
builder
public static TopologyAssociatedWithEntityRelationship.Builder builder()
Create a new builder.
-
toBuilder
public TopologyAssociatedWithEntityRelationship.Builder toBuilder()
-
getAssociatedWithDetails
public TopologyAssociatedWithRelationshipDetails getAssociatedWithDetails()
-
toString
public String toString()
- Overrides:
toString
in classTopologyEntityRelationship
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classTopologyEntityRelationship
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classTopologyEntityRelationship
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classTopologyEntityRelationship
-
-