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()
VirtualNetworkid in interface VirtualNetworkpublic TenantId tenantId()
VirtualNetworktenantId in interface VirtualNetworkpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object