DelegatedSubnets Class

  • java.lang.Object
    • com.azure.resourcemanager.delegatednetwork.models.DelegatedSubnets

Implements

public final class DelegatedSubnets
implements JsonSerializable<DelegatedSubnets>

An array of DelegatedSubnet resources.

Constructor Summary

Constructor Description
DelegatedSubnets()

Creates an instance of DelegatedSubnets class.

Method Summary

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

Reads an instance of DelegatedSubnets from the JsonReader.

String nextLink()

Get the nextLink property: The URL to get the next set of DelegatedSubnet resources.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<DelegatedSubnetInner> value()

Get the value property: An array of DelegatedSubnet resources.

DelegatedSubnets withValue(List<DelegatedSubnetInner> value)

Set the value property: An array of DelegatedSubnet resources.

Methods inherited from java.lang.Object

Constructor Details

DelegatedSubnets

public DelegatedSubnets()

Creates an instance of DelegatedSubnets class.

Method Details

fromJson

public static DelegatedSubnets fromJson(JsonReader jsonReader)

Reads an instance of DelegatedSubnets from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DelegatedSubnets 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.

nextLink

public String nextLink()

Get the nextLink property: The URL to get the next set of DelegatedSubnet resources.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<DelegatedSubnetInner> value()

Get the value property: An array of DelegatedSubnet resources.

Returns:

the value value.

withValue

public DelegatedSubnets withValue(List<DelegatedSubnetInner> value)

Set the value property: An array of DelegatedSubnet resources.

Parameters:

value - the value value to set.

Returns:

the DelegatedSubnets object itself.

Applies to