Class SessionUplink.Builder
- java.lang.Object
-
- org.onosproject.net.behaviour.upf.SessionUplink.Builder
-
- Enclosing class:
- SessionUplink
public static class SessionUplink.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessionUplink
build()
SessionUplink.Builder
needsDropping(boolean drop)
Sets whether to drop uplink UE session traffic or not.SessionUplink.Builder
withTeid(Integer teid)
Set the identifier of the GTP tunnel that this UE Session rule matches on.SessionUplink.Builder
withTunDstAddr(Ip4Address tunDstAddr)
Set the tunnel destination IP address (N3/S1U address) that this UE Session rule matches on.
-
-
-
Method Detail
-
withTunDstAddr
public SessionUplink.Builder withTunDstAddr(Ip4Address tunDstAddr)
Set the tunnel destination IP address (N3/S1U address) that this UE Session rule matches on.- Parameters:
tunDstAddr
- The tunnel destination IP address- Returns:
- This builder object
-
withTeid
public SessionUplink.Builder withTeid(Integer teid)
Set the identifier of the GTP tunnel that this UE Session rule matches on.- Parameters:
teid
- GTP tunnel ID- Returns:
- This builder object
-
needsDropping
public SessionUplink.Builder needsDropping(boolean drop)
Sets whether to drop uplink UE session traffic or not.- Parameters:
drop
- True if request to buffer, false otherwise- Returns:
- This builder object
-
build
public SessionUplink build()
-
-