public final class DefaultVirtualNetwork extends 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(Object obj) |
int |
hashCode() |
NetworkId |
id()
Returns the network identifier.
|
TenantId |
tenantId()
Returns the identifier of the tenant to which this virtual network belongs.
|
String |
toString() |
public NetworkId id()
VirtualNetwork
id
in interface VirtualNetwork
public TenantId tenantId()
VirtualNetwork
tenantId
in interface VirtualNetwork