Interface NetworkInterface.DefinitionStages.WithPrimaryNetworkSubnet
- All Known Subinterfaces:
NetworkInterface.Definition
- Enclosing interface:
NetworkInterface.DefinitionStages
public static interface NetworkInterface.DefinitionStages.WithPrimaryNetworkSubnet
The stage of the network interface definition allowing to specify subnet.
-
Method Summary
Modifier and TypeMethodDescriptionwithSubnet(String name) Associate a subnet with the network interface's primary IP configuration.
-
Method Details
-
withSubnet
Associate a subnet with the network interface's primary IP configuration.- Parameters:
name- the subnet name- Returns:
- the next stage of the definition
-