public static final class UnidirectionalServicePath.Builder
extends java.lang.Object
UnidirectionalServicePath
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
UnidirectionalServicePath . |
Modifier and Type | Method and Description |
---|---|
UnidirectionalServicePath |
build() |
UnidirectionalServicePath.Builder |
setHops(java.util.List<ServicePathHop> hops)
List of service path hops that constitutes the forward or reverse service path.
|
UnidirectionalServicePath.Builder |
setHostCrossCount(java.lang.Long hostCrossCount)
The number of times the traffic needs to cross hosts for the given forward or
reverse service path.
|
UnidirectionalServicePath.Builder |
setInMaintenanceMode(java.lang.Boolean inMaintenanceMode)
Is forward or revserse service path in maintenance mode or not.
|
UnidirectionalServicePath.Builder |
setIsActive(java.lang.Boolean isActive)
Is forward or revserse service path active or not.
|
UnidirectionalServicePath.Builder |
setUnidirServicePathId(java.lang.Long unidirServicePathId)
Unique identifier of one directional service path.
|
public Builder()
UnidirectionalServicePath
.public UnidirectionalServicePath.Builder setHops(java.util.List<ServicePathHop> hops)
hops
- New value for the property.public UnidirectionalServicePath.Builder setHostCrossCount(java.lang.Long hostCrossCount)
hostCrossCount
- New value for the property.public UnidirectionalServicePath.Builder setInMaintenanceMode(java.lang.Boolean inMaintenanceMode)
inMaintenanceMode
- New value for the property.public UnidirectionalServicePath.Builder setIsActive(java.lang.Boolean isActive)
isActive
- New value for the property.public UnidirectionalServicePath.Builder setUnidirServicePathId(java.lang.Long unidirServicePathId)
unidirServicePathId
- New value for the property.public UnidirectionalServicePath build()