Class SessionHostHealthCheckFailureDetails
- java.lang.Object
-
- com.azure.resourcemanager.desktopvirtualization.models.SessionHostHealthCheckFailureDetails
-
public final class SessionHostHealthCheckFailureDetails extends Object
Contains details on the failure.
-
-
Constructor Summary
Constructors Constructor Description SessionHostHealthCheckFailureDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegererrorCode()Get the errorCode property: Error code corresponding for the failure.OffsetDateTimelastHealthCheckDateTime()Get the lastHealthCheckDateTime property: The timestamp of the last update.Stringmessage()Get the message property: Failure message: hints on what is wrong and how to recover.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
message
public String message()
Get the message property: Failure message: hints on what is wrong and how to recover.- Returns:
- the message value.
-
errorCode
public Integer errorCode()
Get the errorCode property: Error code corresponding for the failure.- Returns:
- the errorCode value.
-
lastHealthCheckDateTime
public OffsetDateTime lastHealthCheckDateTime()
Get the lastHealthCheckDateTime property: The timestamp of the last update.- Returns:
- the lastHealthCheckDateTime value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-