KubernetesVersionListResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.fluent.models.KubernetesVersionListResultInner

Implements

public final class KubernetesVersionListResultInner
implements JsonSerializable<KubernetesVersionListResultInner>

Hold values properties, which is array of KubernetesVersion.

Constructor Summary

Constructor Description
KubernetesVersionListResultInner()

Creates an instance of KubernetesVersionListResultInner class.

Method Summary

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

Reads an instance of KubernetesVersionListResultInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<KubernetesVersion> values()

Get the values property: Array of AKS supported Kubernetes versions.

KubernetesVersionListResultInner withValues(List<KubernetesVersion> values)

Set the values property: Array of AKS supported Kubernetes versions.

Methods inherited from java.lang.Object

Constructor Details

KubernetesVersionListResultInner

public KubernetesVersionListResultInner()

Creates an instance of KubernetesVersionListResultInner class.

Method Details

fromJson

public static KubernetesVersionListResultInner fromJson(JsonReader jsonReader)

Reads an instance of KubernetesVersionListResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

values

public List values()

Get the values property: Array of AKS supported Kubernetes versions.

Returns:

the values value.

withValues

public KubernetesVersionListResultInner withValues(List values)

Set the values property: Array of AKS supported Kubernetes versions.

Parameters:

values - the values value to set.

Returns:

the KubernetesVersionListResultInner object itself.

Applies to