Share via


HealthStatusDetail Class

  • java.lang.Object
    • com.azure.resourcemanager.devcenter.models.HealthStatusDetail

Implements

public final class HealthStatusDetail
implements JsonSerializable<HealthStatusDetail>

Pool health status detail.

Constructor Summary

Constructor Description
HealthStatusDetail()

Creates an instance of HealthStatusDetail class.

Method Summary

Modifier and Type Method and Description
String code()

Get the code property: An identifier for the issue.

static HealthStatusDetail fromJson(JsonReader jsonReader)

Reads an instance of HealthStatusDetail from the JsonReader.

String message()

Get the message property: A message describing the issue, intended to be suitable for display in a user interface.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

HealthStatusDetail

public HealthStatusDetail()

Creates an instance of HealthStatusDetail class.

Method Details

code

public String code()

Get the code property: An identifier for the issue.

Returns:

the code value.

fromJson

public static HealthStatusDetail fromJson(JsonReader jsonReader)

Reads an instance of HealthStatusDetail from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

message

public String message()

Get the message property: A message describing the issue, intended to be suitable for display in a user interface.

Returns:

the message value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to