public static final class DefaultPatchDescription.Builder extends Object implements PatchDescription.Builder
Modifier and Type | Method and Description |
---|---|
PatchDescription |
build()
Returns new patch interface description.
|
PatchDescription.Builder |
deviceId(String deviceId)
Returns new patch interface description.
|
PatchDescription.Builder |
ifaceName(String ifaceName)
Returns patch interface description builder with a given interface name.
|
PatchDescription.Builder |
peer(String peerName)
Returns patch interface description builder with a given peer.
|
public PatchDescription build()
PatchDescription.Builder
build
in interface PatchDescription.Builder
public PatchDescription.Builder deviceId(String deviceId)
PatchDescription.Builder
deviceId
in interface PatchDescription.Builder
deviceId
- device idpublic PatchDescription.Builder ifaceName(String ifaceName)
PatchDescription.Builder
ifaceName
in interface PatchDescription.Builder
ifaceName
- interface namepublic PatchDescription.Builder peer(String peerName)
PatchDescription.Builder
peer
in interface PatchDescription.Builder
peerName
- peer patch interface name