InstanceViewStatus Class
- java.
lang. Object - com.
azure. compute. batch. models. InstanceViewStatus
- com.
Implements
public final class InstanceViewStatus
implements JsonSerializable<InstanceViewStatus>
The instance view status.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Instance |
fromJson(JsonReader jsonReader)
Reads an instance of Instance |
| String |
getCode()
Get the code property: The status code. |
| String |
getDisplayStatus()
Get the display |
|
Status |
getLevel()
Get the level property: Level code. |
| String |
getMessage()
Get the message property: The detailed status message. |
|
Offset |
getTime()
Get the time property: The time of the status. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static InstanceViewStatus fromJson(JsonReader jsonReader)
Reads an instance of InstanceViewStatus from the JsonReader.
Parameters:
Returns:
Throws:
getCode
public String getCode()
Get the code property: The status code.
Returns:
getDisplayStatus
public String getDisplayStatus()
Get the displayStatus property: The localized label for the status.
Returns:
getLevel
public StatusLevelTypes getLevel()
Get the level property: Level code.
Returns:
getMessage
public String getMessage()
Get the message property: The detailed status message.
Returns:
getTime
public OffsetDateTime getTime()
Get the time property: The time of the status.
Returns: