@Beta public final class NetworkId extends Identifier<java.lang.Long>
Modifier and Type | Field and Description |
---|---|
static NetworkId |
NONE
Represents no network, or an unspecified network.
|
static NetworkId |
PHYSICAL
Represents the underlying physical network.
|
identifier
Modifier | Constructor and Description |
---|---|
protected |
NetworkId() |
Modifier and Type | Method and Description |
---|---|
boolean |
isVirtualNetworkId()
Checks if the id is for virtual network.
|
static NetworkId |
networkId(long id)
Creates a network id using the supplied backing id.
|
equals, hashCode, id, toString
public static final NetworkId NONE
public static final NetworkId PHYSICAL
public final boolean isVirtualNetworkId()
public static NetworkId networkId(long id)
id
- network id