Interface NetworkInterface.UpdateStages.WithIPForwarding
- All Known Subinterfaces:
NetworkInterface.Update
- Enclosing interface:
- NetworkInterface.UpdateStages
public static interface NetworkInterface.UpdateStages.WithIPForwarding
The stage of the network interface update allowing to enable or disable IP forwarding.
-
Method Summary
Modifier and TypeMethodDescriptionEnable IP forwarding in the network interface.Disable IP forwarding in the network interface.
-
Method Details
-
withIPForwarding
NetworkInterface.Update withIPForwarding()Enable IP forwarding in the network interface.- Returns:
- the next stage of the network interface update
-
withoutIPForwarding
NetworkInterface.Update withoutIPForwarding()Disable IP forwarding in the network interface.- Returns:
- the next stage of the network interface update
-