OpenShiftManagedClusterListResult Class

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

Implements

public final class OpenShiftManagedClusterListResult
implements JsonSerializable<OpenShiftManagedClusterListResult>

The response from the List OpenShift Managed Clusters operation.

Constructor Summary

Constructor Description
OpenShiftManagedClusterListResult()

Creates an instance of OpenShiftManagedClusterListResult class.

Method Summary

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

Reads an instance of OpenShiftManagedClusterListResult from the JsonReader.

String nextLink()

Get the nextLink property: The URL to get the next set of OpenShift managed cluster results.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<OpenShiftManagedClusterInner> value()

Get the value property: The list of OpenShift managed clusters.

OpenShiftManagedClusterListResult withValue(List<OpenShiftManagedClusterInner> value)

Set the value property: The list of OpenShift managed clusters.

Methods inherited from java.lang.Object

Constructor Details

OpenShiftManagedClusterListResult

public OpenShiftManagedClusterListResult()

Creates an instance of OpenShiftManagedClusterListResult class.

Method Details

fromJson

public static OpenShiftManagedClusterListResult fromJson(JsonReader jsonReader)

Reads an instance of OpenShiftManagedClusterListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: The URL to get the next set of OpenShift managed cluster results.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<OpenShiftManagedClusterInner> value()

Get the value property: The list of OpenShift managed clusters.

Returns:

the value value.

withValue

public OpenShiftManagedClusterListResult withValue(List<OpenShiftManagedClusterInner> value)

Set the value property: The list of OpenShift managed clusters.

Parameters:

value - the value value to set.

Returns:

the OpenShiftManagedClusterListResult object itself.

Applies to