Class AddressSpace


  • public final class AddressSpace
    extends Object
    AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.
    • Constructor Detail

      • AddressSpace

        public AddressSpace()
    • Method Detail

      • addressPrefixes

        public List<String> addressPrefixes()
        Get the addressPrefixes property: A list of address blocks reserved for this virtual network in CIDR notation.
        Returns:
        the addressPrefixes value.
      • withAddressPrefixes

        public AddressSpace withAddressPrefixes​(List<String> addressPrefixes)
        Set the addressPrefixes property: A list of address blocks reserved for this virtual network in CIDR notation.
        Parameters:
        addressPrefixes - the addressPrefixes value to set.
        Returns:
        the AddressSpace object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.