NetworkInterface.DefinitionStages.WithPrimaryNetworkSubnet.withSubnet(String name) Method

Definition

Associate a subnet with the network interface's primary IP configuration.

public abstract NetworkInterface.DefinitionStages.WithPrimaryPrivateIP withSubnet(String name)

Parameters

name
java.lang.String

the subnet name

Returns

the next stage of the definition

Applies to