InstanceViewStatusesSummary Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.InstanceViewStatusesSummary

Implements

public final class InstanceViewStatusesSummary
implements JsonSerializable<InstanceViewStatusesSummary>

Instance view statuses.

Constructor Summary

Constructor Description
InstanceViewStatusesSummary()

Creates an instance of InstanceViewStatusesSummary class.

Method Summary

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

Reads an instance of InstanceViewStatusesSummary from the JsonReader.

List<StatusCodeCount> statusesSummary()

Get the statusesSummary property: The summary.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

InstanceViewStatusesSummary

public InstanceViewStatusesSummary()

Creates an instance of InstanceViewStatusesSummary class.

Method Details

fromJson

public static InstanceViewStatusesSummary fromJson(JsonReader jsonReader)

Reads an instance of InstanceViewStatusesSummary from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

statusesSummary

public List statusesSummary()

Get the statusesSummary property: The summary.

Returns:

the statusesSummary value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to