Status Class

  • java.lang.Object
    • com.azure.resourcemanager.containerregistry.models.Status

Implements

public final class Status
implements JsonSerializable<Status>

The status of an Azure resource at the time the operation was called.

Constructor Summary

Constructor Description
Status()

Creates an instance of Status class.

Method Summary

Modifier and Type Method and Description
String displayStatus()

Get the displayStatus property: The short label for the status.

static Status fromJson(JsonReader jsonReader)

Reads an instance of Status from the JsonReader.

String message()

Get the message property: The detailed message for the status, including alerts and error messages.

OffsetDateTime timestamp()

Get the timestamp property: The timestamp when the status was changed to the current value.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

Status

public Status()

Creates an instance of Status class.

Method Details

displayStatus

public String displayStatus()

Get the displayStatus property: The short label for the status.

Returns:

the displayStatus value.

fromJson

public static Status fromJson(JsonReader jsonReader)

Reads an instance of Status from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

message

public String message()

Get the message property: The detailed message for the status, including alerts and error messages.

Returns:

the message value.

timestamp

public OffsetDateTime timestamp()

Get the timestamp property: The timestamp when the status was changed to the current value.

Returns:

the timestamp value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to