Class UpfTerminationUplink.Builder
- java.lang.Object
-
- org.onosproject.net.behaviour.upf.UpfTerminationUplink.Builder
-
- Enclosing class:
- UpfTerminationUplink
public static class UpfTerminationUplink.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpfTerminationUplink
build()
UpfTerminationUplink.Builder
needsDropping(boolean dropping)
Sets whether to drop uplink UPF termination traffic or not.UpfTerminationUplink.Builder
withApplicationId(byte applicationId)
Set the ID of the application.UpfTerminationUplink.Builder
withCounterId(int ctrId)
Set the dataplane counter cell ID.UpfTerminationUplink.Builder
withTrafficClass(byte trafficClass)
Set the Traffic Class.UpfTerminationUplink.Builder
withUeSessionId(Ip4Address ueSessionId)
Set the ID of the UE session.
-
-
-
Method Detail
-
withUeSessionId
public UpfTerminationUplink.Builder withUeSessionId(Ip4Address ueSessionId)
Set the ID of the UE session.- Parameters:
ueSessionId
- UE session ID- Returns:
- This builder object
-
withApplicationId
public UpfTerminationUplink.Builder withApplicationId(byte applicationId)
Set the ID of the application.- Parameters:
applicationId
- Application ID- Returns:
- This builder object
-
withCounterId
public UpfTerminationUplink.Builder withCounterId(int ctrId)
Set the dataplane counter cell ID.- Parameters:
ctrId
- PDR counter cell ID- Returns:
- This builder object
-
withTrafficClass
public UpfTerminationUplink.Builder withTrafficClass(byte trafficClass)
Set the Traffic Class.- Parameters:
trafficClass
- Traffic Class- Returns:
- This builder object
-
needsDropping
public UpfTerminationUplink.Builder needsDropping(boolean dropping)
Sets whether to drop uplink UPF termination traffic or not.- Parameters:
dropping
- True if request to drop, false otherwise- Returns:
- This builder object
-
build
public UpfTerminationUplink build()
-
-