Class SessionHostHealthCheckFailureDetails

java.lang.Object
com.azure.resourcemanager.desktopvirtualization.models.SessionHostHealthCheckFailureDetails

public final class SessionHostHealthCheckFailureDetails extends Object
Contains details on the failure.
  • Constructor Details

    • SessionHostHealthCheckFailureDetails

      public SessionHostHealthCheckFailureDetails()
  • Method Details

    • 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.