NetworkInterface.DefinitionStages.WithPrimaryNetworkSubnet Interface

public static interface NetworkInterface.DefinitionStages.WithPrimaryNetworkSubnet

The stage of the network interface definition allowing to specify subnet.

Method Summary

Modifier and Type Method and Description
abstract WithPrimaryPrivateIP withSubnet(String name)

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

Method Details

withSubnet

public abstract 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

Applies to