ComponentStatus Class

  • java.lang.Object
    • com.azure.resourcemanager.workloadorchestration.models.ComponentStatus

Implements

public final class ComponentStatus
implements JsonSerializable<ComponentStatus>

Component Status.

Method Summary

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

Reads an instance of ComponentStatus from the JsonReader.

String name()

Get the name property: Component name.

String status()

Get the status property: Component status.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static ComponentStatus fromJson(JsonReader jsonReader)

Reads an instance of ComponentStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Component name.

Returns:

the name value.

status

public String status()

Get the status property: Component status.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to