AddressSpace Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.AddressSpace

public final class AddressSpace

AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.

Constructor Summary

Constructor Description
AddressSpace()

Creates an instance of AddressSpace class.

Method Summary

Modifier and Type Method and Description
List<String> addressPrefixes()

Get the addressPrefixes property: A list of address blocks reserved for this virtual network in CIDR notation.

void validate()

Validates the instance.

AddressSpace withAddressPrefixes(List<String> addressPrefixes)

Set the addressPrefixes property: A list of address blocks reserved for this virtual network in CIDR notation.

Methods inherited from java.lang.Object

Constructor Details

AddressSpace

public AddressSpace()

Creates an instance of AddressSpace class.

Method Details

addressPrefixes

public List addressPrefixes()

Get the addressPrefixes property: A list of address blocks reserved for this virtual network in CIDR notation.

Returns:

the addressPrefixes value.

validate

public void validate()

Validates the instance.

withAddressPrefixes

public AddressSpace withAddressPrefixes(List 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.

Applies to