EdgeNodeProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.cdn.fluent.models.EdgeNodeProperties

Implements

public final class EdgeNodeProperties
implements JsonSerializable<EdgeNodeProperties>

The JSON object that contains the properties required to create an edgenode.

Constructor Summary

Constructor Description
EdgeNodeProperties()

Creates an instance of EdgeNodeProperties class.

Method Summary

Modifier and Type Method and Description
static EdgeNodeProperties fromJson(JsonReader jsonReader)

Reads an instance of EdgeNodeProperties from the JsonReader.

List<IpAddressGroup> ipAddressGroups()

Get the ipAddressGroups property: List of ip address groups.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

EdgeNodeProperties withIpAddressGroups(List<IpAddressGroup> ipAddressGroups)

Set the ipAddressGroups property: List of ip address groups.

Methods inherited from java.lang.Object

Constructor Details

EdgeNodeProperties

public EdgeNodeProperties()

Creates an instance of EdgeNodeProperties class.

Method Details

fromJson

public static EdgeNodeProperties fromJson(JsonReader jsonReader)

Reads an instance of EdgeNodeProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

ipAddressGroups

public List<IpAddressGroup> ipAddressGroups()

Get the ipAddressGroups property: List of ip address groups.

Returns:

the ipAddressGroups value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withIpAddressGroups

public EdgeNodeProperties withIpAddressGroups(List<IpAddressGroup> ipAddressGroups)

Set the ipAddressGroups property: List of ip address groups.

Parameters:

ipAddressGroups - the ipAddressGroups value to set.

Returns:

the EdgeNodeProperties object itself.

Applies to