Interface Subnet.DefinitionStages.WithAddressPrefix<ParentT>

Type Parameters:
ParentT - the stage of the parent definition to return to after attaching this definition
All Known Subinterfaces:
Subnet.Definition<ParentT>, Subnet.DefinitionStages.Blank<ParentT>
Enclosing interface:
Subnet.DefinitionStages

public static interface Subnet.DefinitionStages.WithAddressPrefix<ParentT>
The stage of the subnet definition allowing to specify the address space for the subnet.
  • Method Details

    • withAddressPrefix

      Specifies the IP address space of the subnet, within the address space of the network.
      Parameters:
      cidr - the IP address space prefix using the CIDR notation
      Returns:
      the next stage of the definition
    • withAddressPrefixes

      Subnet.DefinitionStages.WithAttach<ParentT> withAddressPrefixes(Collection<String> addressPrefixes)
      Specifies the IP address spaces of the subnet, within the address space of the network.
      Parameters:
      addressPrefixes - the IP address space prefixes using the CIDR notation
      Returns:
      the next stage of the definition