Status Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. Status
- com.
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 display |
static Status |
fromJson(JsonReader jsonReader)
Reads an instance of Status from the Json |
String |
message()
Get the message property: The detailed message for the status, including alerts and error messages. |
Offset |
timestamp()
Get the timestamp property: The timestamp when the status was changed to the current value. |
Json |
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:
fromJson
public static Status fromJson(JsonReader jsonReader)
Reads an instance of Status from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: The detailed message for the status, including alerts and error messages.
Returns:
timestamp
public OffsetDateTime timestamp()
Get the timestamp property: The timestamp when the status was changed to the current value.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java