Partilhar via


AvailableClustersListInner Class

  • java.lang.Object
    • com.azure.resourcemanager.eventhubs.fluent.models.AvailableClustersListInner

Implements

public final class AvailableClustersListInner
implements JsonSerializable<AvailableClustersListInner>

The response of the List Available Clusters operation.

Constructor Summary

Constructor Description
AvailableClustersListInner()

Creates an instance of AvailableClustersListInner class.

Method Summary

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

Reads an instance of AvailableClustersListInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<AvailableCluster> value()

Get the value property: The count of readily available and pre-provisioned Event Hubs Clusters per region.

AvailableClustersListInner withValue(List<AvailableCluster> value)

Set the value property: The count of readily available and pre-provisioned Event Hubs Clusters per region.

Methods inherited from java.lang.Object

Constructor Details

AvailableClustersListInner

public AvailableClustersListInner()

Creates an instance of AvailableClustersListInner class.

Method Details

fromJson

public static AvailableClustersListInner fromJson(JsonReader jsonReader)

Reads an instance of AvailableClustersListInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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 count of readily available and pre-provisioned Event Hubs Clusters per region.

Returns:

the value value.

withValue

public AvailableClustersListInner withValue(List value)

Set the value property: The count of readily available and pre-provisioned Event Hubs Clusters per region.

Parameters:

value - the value value to set.

Returns:

the AvailableClustersListInner object itself.

Applies to