public final class DefaultTunnelDescription extends AbstractDescription implements TunnelDescription
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultTunnelDescription.Builder |
TunnelDescription.Type| Modifier and Type | Method and Description |
|---|---|
static DefaultTunnelDescription.Builder |
builder()
Creates and returns a new builder instance.
|
Optional<String> |
deviceId()
Returns the identifier of the device where the interface is.
|
String |
ifaceName()
Return the name of the tunnel interface.
|
Optional<TunnelKey> |
key()
Returns the tunnel key.
|
Optional<TunnelEndPoint> |
local()
Returns the local connection point.
|
Optional<TunnelEndPoint> |
remote()
Returns the remote connection point.
|
String |
toString() |
TunnelDescription.Type |
type()
Returns the tunnel type.
|
annotations, equals, hashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitannotationspublic Optional<String> deviceId()
TunnelDescriptiondeviceId in interface TunnelDescriptionpublic String ifaceName()
TunnelDescriptionifaceName in interface TunnelDescriptionpublic TunnelDescription.Type type()
TunnelDescriptiontype in interface TunnelDescriptionpublic Optional<TunnelEndPoint> local()
TunnelDescriptionlocal in interface TunnelDescriptionpublic Optional<TunnelEndPoint> remote()
TunnelDescriptionremote in interface TunnelDescriptionpublic Optional<TunnelKey> key()
TunnelDescriptionkey in interface TunnelDescriptionpublic static DefaultTunnelDescription.Builder builder()