SnapshotListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.SnapshotListResult

Implements

public final class SnapshotListResult
implements JsonSerializable<SnapshotListResult>

The response from the List Snapshots operation.

Constructor Summary

Constructor Description
SnapshotListResult()

Creates an instance of SnapshotListResult class.

Method Summary

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

Reads an instance of SnapshotListResult from the JsonReader.

String nextLink()

Get the nextLink property: The URL to get the next set of snapshot results.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<SnapshotInner> value()

Get the value property: The list of snapshots.

SnapshotListResult withValue(List<SnapshotInner> value)

Set the value property: The list of snapshots.

Methods inherited from java.lang.Object

Constructor Details

SnapshotListResult

public SnapshotListResult()

Creates an instance of SnapshotListResult class.

Method Details

fromJson

public static SnapshotListResult fromJson(JsonReader jsonReader)

Reads an instance of SnapshotListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: The URL to get the next set of snapshot results.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List value()

Get the value property: The list of snapshots.

Returns:

the value value.

withValue

public SnapshotListResult withValue(List value)

Set the value property: The list of snapshots.

Parameters:

value - the value value to set.

Returns:

the SnapshotListResult object itself.

Applies to

Azure SDK for Java

Latest