Class SessionDownlink.Builder
- java.lang.Object
-
- org.onosproject.net.behaviour.upf.SessionDownlink.Builder
-
- Enclosing class:
- SessionDownlink
public static class SessionDownlink.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessionDownlinkbuild()SessionDownlink.BuilderneedsBuffering(boolean buffer)Sets whether to buffer downlink UE session traffic or not.SessionDownlink.BuilderneedsDropping(boolean drop)Sets whether to drop downlink UE session traffic or not.SessionDownlink.BuilderwithGtpTunnelPeerId(Byte tunnelPeerId)Set the GTP tunnel peer ID that is set by this UE Session rule.SessionDownlink.BuilderwithUeAddress(Ip4Address ueAddress)Set the UE IP address that this downlink UE session rule matches on.
-
-
-
Method Detail
-
withUeAddress
public SessionDownlink.Builder withUeAddress(Ip4Address ueAddress)
Set the UE IP address that this downlink UE session rule matches on.- Parameters:
ueAddress- UE IP address- Returns:
- This builder object
-
withGtpTunnelPeerId
public SessionDownlink.Builder withGtpTunnelPeerId(Byte tunnelPeerId)
Set the GTP tunnel peer ID that is set by this UE Session rule.- Parameters:
tunnelPeerId- GTP tunnel peer ID- Returns:
- This builder object
-
needsBuffering
public SessionDownlink.Builder needsBuffering(boolean buffer)
Sets whether to buffer downlink UE session traffic or not.- Parameters:
buffer- True if request to buffer, false otherwise- Returns:
- This builder object
-
needsDropping
public SessionDownlink.Builder needsDropping(boolean drop)
Sets whether to drop downlink UE session traffic or not.- Parameters:
drop- True if request to buffer, false otherwise- Returns:
- This builder object
-
build
public SessionDownlink build()
-
-