@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class TopologyContainsEntityRelationship extends TopologyEntityRelationship
Defines the contains
relationship between virtual network topology entities. A Contains
relationship is defined when an entity fully owns, contains or manages another entity.
For example, a subnet is contained and managed in the scope of a VCN, therefore a VCN has a
contains
relationship to a subnet.
Note: Objects should always be created or deserialized using the TopologyContainsEntityRelationship.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 TopologyContainsEntityRelationship.Builder
, which maintain a
set of all explicitly set fields called TopologyContainsEntityRelationship.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
TopologyContainsEntityRelationship.Builder |
TopologyEntityRelationship.Type
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
TopologyContainsEntityRelationship(String id1,
String id2)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static TopologyContainsEntityRelationship.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
int |
hashCode() |
TopologyContainsEntityRelationship.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getId1, getId2
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public TopologyContainsEntityRelationship(String id1, String id2)
public static TopologyContainsEntityRelationship.Builder builder()
Create a new builder.
public TopologyContainsEntityRelationship.Builder toBuilder()
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–2024. All rights reserved.