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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkInterface.DefinitionStages.WithPrimaryPrivateIP
withSubnet(String name)
Associate a subnet with the network interface's primary IP configuration.
-
-
-
Method Detail
-
withSubnet
NetworkInterface.DefinitionStages.WithPrimaryPrivateIP withSubnet(String name)
Associate a subnet with the network interface's primary IP configuration.- Parameters:
name
- the subnet name- Returns:
- the next stage of the definition
-
-