Share via


ResourceStatus Class

  • java.lang.Object
    • com.azure.resourcemanager.connectedvmware.models.ResourceStatus

Implements

public final class ResourceStatus
implements JsonSerializable<ResourceStatus>

The resource status information.

Constructor Summary

Constructor Description
ResourceStatus()

Creates an instance of ResourceStatus class.

Method Summary

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

Reads an instance of ResourceStatus from the JsonReader.

OffsetDateTime lastUpdatedAt()

Get the lastUpdatedAt property: The last update time for this condition.

String message()

Get the message property: A human readable message indicating details about the status.

String reason()

Get the reason property: The reason for the condition's status.

String severity()

Get the severity property: Severity with which to treat failures of this type of condition.

String status()

Get the status property: Status of the condition.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the condition.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ResourceStatus

public ResourceStatus()

Creates an instance of ResourceStatus class.

Method Details

fromJson

public static ResourceStatus fromJson(JsonReader jsonReader)

Reads an instance of ResourceStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

lastUpdatedAt

public OffsetDateTime lastUpdatedAt()

Get the lastUpdatedAt property: The last update time for this condition.

Returns:

the lastUpdatedAt value.

message

public String message()

Get the message property: A human readable message indicating details about the status.

Returns:

the message value.

reason

public String reason()

Get the reason property: The reason for the condition's status.

Returns:

the reason value.

severity

public String severity()

Get the severity property: Severity with which to treat failures of this type of condition.

Returns:

the severity value.

status

public String status()

Get the status property: Status of the condition.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the condition.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to