public final class DefaultPatchDescription extends AbstractDescription implements PatchDescription
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultPatchDescription.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DefaultPatchDescription.Builder |
builder()
Returns new builder instance.
|
Optional<String> |
deviceId()
Returns the identifier of the device where this patch interface is.
|
String |
ifaceName()
Return the name of the patch interface.
|
String |
peer()
Returns the name of the interface for the other side of the patch.
|
String |
toString() |
annotations, equals, hashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitannotationspublic Optional<String> deviceId()
PatchDescriptiondeviceId in interface PatchDescriptionpublic String ifaceName()
PatchDescriptionifaceName in interface PatchDescriptionpublic String peer()
PatchDescriptionpeer in interface PatchDescriptionpublic static DefaultPatchDescription.Builder builder()