public static final class ServicePath.Builder
extends java.lang.Object
ServicePath
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ServicePath . |
Modifier and Type | Method and Description |
---|---|
ServicePath |
build() |
ServicePath.Builder |
setForwardPath(UnidirectionalServicePath forwardPath) |
ServicePath.Builder |
setReversePath(UnidirectionalServicePath reversePath) |
ServicePath.Builder |
setServiceChainId(java.lang.Long serviceChainId)
A unique id of a service chain.
|
ServicePath.Builder |
setServiceChainUuid(java.lang.String serviceChainUuid)
Uuid of a service chain.
|
ServicePath.Builder |
setServicePathId(java.lang.Long servicePathId)
Unique identifier of a service path.
|
public Builder()
ServicePath
.public ServicePath.Builder setForwardPath(UnidirectionalServicePath forwardPath)
forwardPath
- New value for the property.public ServicePath.Builder setReversePath(UnidirectionalServicePath reversePath)
reversePath
- New value for the property.public ServicePath.Builder setServiceChainId(java.lang.Long serviceChainId)
serviceChainId
- New value for the property.public ServicePath.Builder setServiceChainUuid(java.lang.String serviceChainUuid)
serviceChainUuid
- New value for the property.public ServicePath.Builder setServicePathId(java.lang.Long servicePathId)
servicePathId
- New value for the property.public ServicePath build()