Class UpfTerminationDownlink.Builder
- java.lang.Object
-
- org.onosproject.net.behaviour.upf.UpfTerminationDownlink.Builder
-
- Enclosing class:
- UpfTerminationDownlink
public static class UpfTerminationDownlink.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpfTerminationDownlinkbuild()UpfTerminationDownlink.BuilderneedsDropping(boolean drop)Sets whether to drop downlink UPF termination traffic or not.UpfTerminationDownlink.BuilderwithApplicationId(byte applicationId)Set the ID of the application.UpfTerminationDownlink.BuilderwithAppMeterIdx(int appMeterIdx)Sets the app meter index.UpfTerminationDownlink.BuilderwithCounterId(int ctrId)Set the dataplane counter cell ID.UpfTerminationDownlink.BuilderwithQfi(byte qfi)Set the QoS Flow Identifier.UpfTerminationDownlink.BuilderwithTeid(Integer teid)Set the identifier of the unidirectional GTP tunnel that should be used for the UE Session.UpfTerminationDownlink.BuilderwithTrafficClass(byte trafficClass)Set the Traffic Class.UpfTerminationDownlink.BuilderwithUeSessionId(Ip4Address ueSessionId)Set the ID of the UE session.
-
-
-
Method Detail
-
withUeSessionId
public UpfTerminationDownlink.Builder withUeSessionId(Ip4Address ueSessionId)
Set the ID of the UE session.- Parameters:
ueSessionId- UE session ID- Returns:
- This builder object
-
withApplicationId
public UpfTerminationDownlink.Builder withApplicationId(byte applicationId)
Set the ID of the application. If not set, default toUpfEntity.DEFAULT_APP_ID.- Parameters:
applicationId- Application ID- Returns:
- This builder object
-
withCounterId
public UpfTerminationDownlink.Builder withCounterId(int ctrId)
Set the dataplane counter cell ID.- Parameters:
ctrId- PDR counter cell ID- Returns:
- This builder object
-
withTrafficClass
public UpfTerminationDownlink.Builder withTrafficClass(byte trafficClass)
Set the Traffic Class.- Parameters:
trafficClass- Traffic Class- Returns:
- This builder object
-
withTeid
public UpfTerminationDownlink.Builder withTeid(Integer teid)
Set the identifier of the unidirectional GTP tunnel that should be used for the UE Session.- Parameters:
teid- tunnel ID- Returns:
- This builder object
-
withQfi
public UpfTerminationDownlink.Builder withQfi(byte qfi)
Set the QoS Flow Identifier.- Parameters:
qfi- GTP Tunnel QFI- Returns:
- This builder object
-
needsDropping
public UpfTerminationDownlink.Builder needsDropping(boolean drop)
Sets whether to drop downlink UPF termination traffic or not.- Parameters:
drop- True if request to drop, false otherwise- Returns:
- This builder object
-
withAppMeterIdx
public UpfTerminationDownlink.Builder withAppMeterIdx(int appMeterIdx)
Sets the app meter index. If not set, default toUpfEntity.DEFAULT_APP_INDEX.- Parameters:
appMeterIdx- App meter index- Returns:
- This builder object
-
build
public UpfTerminationDownlink build()
-
-