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 UpfTerminationDownlink
build()
UpfTerminationDownlink.Builder
needsDropping(boolean drop)
Sets whether to drop downlink UPF termination traffic or not.UpfTerminationDownlink.Builder
withApplicationId(byte applicationId)
Set the ID of the application.UpfTerminationDownlink.Builder
withCounterId(int ctrId)
Set the dataplane counter cell ID.UpfTerminationDownlink.Builder
withQfi(byte qfi)
Set the QoS Flow Identifier.UpfTerminationDownlink.Builder
withTeid(Integer teid)
Set the identifier of the unidirectional GTP tunnel that should be used for the UE Session.UpfTerminationDownlink.Builder
withTrafficClass(byte trafficClass)
Set the Traffic Class.UpfTerminationDownlink.Builder
withUeSessionId(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.- 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
-
build
public UpfTerminationDownlink build()
-
-