InstanceList Class

  • java.lang.Object
    • com.azure.resourcemanager.deviceupdate.models.InstanceList

Implements

public final class InstanceList
implements JsonSerializable<InstanceList>

List of Instances.

Constructor Summary

Constructor Description
InstanceList()

Creates an instance of InstanceList class.

Method Summary

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

Reads an instance of InstanceList from the JsonReader.

String nextLink()

Get the nextLink property: The link used to get the next page of Instances list.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<InstanceInner> value()

Get the value property: List of Instances.

InstanceList withNextLink(String nextLink)

Set the nextLink property: The link used to get the next page of Instances list.

InstanceList withValue(List<InstanceInner> value)

Set the value property: List of Instances.

Methods inherited from java.lang.Object

Constructor Details

InstanceList

public InstanceList()

Creates an instance of InstanceList class.

Method Details

fromJson

public static InstanceList fromJson(JsonReader jsonReader)

Reads an instance of InstanceList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: The link used to get the next page of Instances list.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<InstanceInner> value()

Get the value property: List of Instances.

Returns:

the value value.

withNextLink

public InstanceList withNextLink(String nextLink)

Set the nextLink property: The link used to get the next page of Instances list.

Parameters:

nextLink - the nextLink value to set.

Returns:

the InstanceList object itself.

withValue

public InstanceList withValue(List<InstanceInner> value)

Set the value property: List of Instances.

Parameters:

value - the value value to set.

Returns:

the InstanceList object itself.

Applies to