ResourceSkusResult Class

  • java.lang.Object
    • com.azure.resourcemanager.storagecache.models.ResourceSkusResult

Implements

public final class ResourceSkusResult
implements JsonSerializable<ResourceSkusResult>

The response from the List Cache SKUs operation.

Constructor Summary

Constructor Description
ResourceSkusResult()

Creates an instance of ResourceSkusResult class.

Method Summary

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

Reads an instance of ResourceSkusResult from the JsonReader.

String nextLink()

Get the nextLink property: The URI to fetch the next page of cache SKUs.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<ResourceSkuInner> value()

Get the value property: The list of SKUs available for the subscription.

ResourceSkusResult withNextLink(String nextLink)

Set the nextLink property: The URI to fetch the next page of cache SKUs.

Methods inherited from java.lang.Object

Constructor Details

ResourceSkusResult

public ResourceSkusResult()

Creates an instance of ResourceSkusResult class.

Method Details

fromJson

public static ResourceSkusResult fromJson(JsonReader jsonReader)

Reads an instance of ResourceSkusResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: The URI to fetch the next page of cache SKUs.

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 SKUs available for the subscription.

Returns:

the value value.

withNextLink

public ResourceSkusResult withNextLink(String nextLink)

Set the nextLink property: The URI to fetch the next page of cache SKUs.

Parameters:

nextLink - the nextLink value to set.

Returns:

the ResourceSkusResult object itself.

Applies to

Azure SDK for Java

Preview