Package org.onosproject.net.behaviour
Interface PatchDescription.Builder
-
- All Known Implementing Classes:
DefaultPatchDescription.Builder
- Enclosing interface:
- PatchDescription
public static interface PatchDescription.Builder
Builder of patch interface description entities.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PatchDescription
build()
Returns new patch interface description.PatchDescription.Builder
deviceId(java.lang.String deviceId)
Returns new patch interface description.PatchDescription.Builder
ifaceName(java.lang.String ifaceName)
Returns patch interface description builder with a given interface name.PatchDescription.Builder
peer(java.lang.String peerName)
Returns patch interface description builder with a given peer.
-
-
-
Method Detail
-
build
PatchDescription build()
Returns new patch interface description.- Returns:
- patch interface description
-
deviceId
PatchDescription.Builder deviceId(java.lang.String deviceId)
Returns new patch interface description.- Parameters:
deviceId
- device id- Returns:
- patch interface description builder
-
ifaceName
PatchDescription.Builder ifaceName(java.lang.String ifaceName)
Returns patch interface description builder with a given interface name.- Parameters:
ifaceName
- interface name- Returns:
- patch interface description builder
-
peer
PatchDescription.Builder peer(java.lang.String peerName)
Returns patch interface description builder with a given peer.- Parameters:
peerName
- peer patch interface name- Returns:
- patch interface description builder
-
-