ClusterZoneListInner Class

  • java.lang.Object
    • com.azure.resourcemanager.avs.fluent.models.ClusterZoneListInner

Implements

public final class ClusterZoneListInner
implements JsonSerializable<ClusterZoneListInner>

List of all zones and associated hosts for a cluster.

Constructor Summary

Constructor Description
ClusterZoneListInner()

Creates an instance of ClusterZoneListInner class.

Method Summary

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

Reads an instance of ClusterZoneListInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ClusterZoneListInner withZones(List<ClusterZone> zones)

Set the zones property: Zone and associated hosts info.

List<ClusterZone> zones()

Get the zones property: Zone and associated hosts info.

Methods inherited from java.lang.Object

Constructor Details

ClusterZoneListInner

public ClusterZoneListInner()

Creates an instance of ClusterZoneListInner class.

Method Details

fromJson

public static ClusterZoneListInner fromJson(JsonReader jsonReader)

Reads an instance of ClusterZoneListInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withZones

public ClusterZoneListInner withZones(List zones)

Set the zones property: Zone and associated hosts info.

Parameters:

zones - the zones value to set.

Returns:

the ClusterZoneListInner object itself.

zones

public List zones()

Get the zones property: Zone and associated hosts info.

Returns:

the zones value.

Applies to

Azure SDK for Java

Preview