ZoneListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.dns.models.ZoneListResult

Implements

public final class ZoneListResult
implements JsonSerializable<ZoneListResult>

The response to a Zone List or ListAll operation.

Constructor Summary

Constructor Description
ZoneListResult()

Creates an instance of ZoneListResult class.

Method Summary

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

Reads an instance of ZoneListResult from the JsonReader.

String nextLink()

Get the nextLink property: The continuation token for the next page of results.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<ZoneInner> value()

Get the value property: Information about the DNS zones.

ZoneListResult withValue(List<ZoneInner> value)

Set the value property: Information about the DNS zones.

Methods inherited from java.lang.Object

Constructor Details

ZoneListResult

public ZoneListResult()

Creates an instance of ZoneListResult class.

Method Details

fromJson

public static ZoneListResult fromJson(JsonReader jsonReader)

Reads an instance of ZoneListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: The continuation token for the next page of results.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<ZoneInner> value()

Get the value property: Information about the DNS zones.

Returns:

the value value.

withValue

public ZoneListResult withValue(List<ZoneInner> value)

Set the value property: Information about the DNS zones.

Parameters:

value - the value value to set.

Returns:

the ZoneListResult object itself.

Applies to