IpAddressGroup Class

  • java.lang.Object
    • com.azure.resourcemanager.cdn.models.IpAddressGroup

Implements

public final class IpAddressGroup
implements JsonSerializable<IpAddressGroup>

CDN Ip address group.

Method Summary

Modifier and Type Method and Description
String deliveryRegion()

Get the deliveryRegion property: The delivery region of the ip address group.

static IpAddressGroup fromJson(JsonReader jsonReader)

Reads an instance of IpAddressGroup from the JsonReader.

List<CidrIpAddress> ipv4Addresses()

Get the ipv4Addresses property: The list of ip v4 addresses.

List<CidrIpAddress> ipv6Addresses()

Get the ipv6Addresses property: The list of ip v6 addresses.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

deliveryRegion

public String deliveryRegion()

Get the deliveryRegion property: The delivery region of the ip address group.

Returns:

the deliveryRegion value.

fromJson

public static IpAddressGroup fromJson(JsonReader jsonReader)

Reads an instance of IpAddressGroup from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of IpAddressGroup if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the IpAddressGroup.

ipv4Addresses

public List<CidrIpAddress> ipv4Addresses()

Get the ipv4Addresses property: The list of ip v4 addresses.

Returns:

the ipv4Addresses value.

ipv6Addresses

public List<CidrIpAddress> ipv6Addresses()

Get the ipv6Addresses property: The list of ip v6 addresses.

Returns:

the ipv6Addresses value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to