public final class DefaultVirtualNetwork extends java.lang.Object implements VirtualNetwork
Constructor and Description |
---|
DefaultVirtualNetwork(NetworkId id,
TenantId tenantId)
Creates a new virtual network descriptor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
NetworkId |
id()
Returns the network identifier.
|
TenantId |
tenantId()
Returns the identifier of the tenant to which this virtual network belongs.
|
java.lang.String |
toString() |
public NetworkId id()
VirtualNetwork
id
in interface VirtualNetwork
public TenantId tenantId()
VirtualNetwork
tenantId
in interface VirtualNetwork
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object