SessionHostHealthCheckFailureDetails Class
- java.
lang. Object - com.
azure. resourcemanager. desktopvirtualization. models. SessionHostHealthCheckFailureDetails
- com.
Implements
public final class SessionHostHealthCheckFailureDetails
implements JsonSerializable<SessionHostHealthCheckFailureDetails>
Contains details on the failure.
Constructor Summary
| Constructor | Description |
|---|---|
| SessionHostHealthCheckFailureDetails() |
Creates an instance of Session |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
errorCode()
Get the error |
|
static
Session |
fromJson(JsonReader jsonReader)
Reads an instance of Session |
|
Offset |
lastHealthCheckDateTime()
Get the last |
| String |
message()
Get the message property: Failure message: hints on what is wrong and how to recover. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
SessionHostHealthCheckFailureDetails
public SessionHostHealthCheckFailureDetails()
Creates an instance of SessionHostHealthCheckFailureDetails class.
Method Details
errorCode
public Integer errorCode()
Get the errorCode property: Error code corresponding for the failure.
Returns:
fromJson
public static SessionHostHealthCheckFailureDetails fromJson(JsonReader jsonReader)
Reads an instance of SessionHostHealthCheckFailureDetails from the JsonReader.
Parameters:
Returns:
Throws:
lastHealthCheckDateTime
public OffsetDateTime lastHealthCheckDateTime()
Get the lastHealthCheckDateTime property: The timestamp of the last update.
Returns:
message
public String message()
Get the message property: Failure message: hints on what is wrong and how to recover.
Returns:
toJson
validate
public void validate()
Validates the instance.