Class ValidationTestFailureDetails

java.lang.Object
com.azure.resourcemanager.platformvalidation.models.ValidationTestFailureDetails
All Implemented Interfaces:
com.azure.json.JsonSerializable<ValidationTestFailureDetails>

public final class ValidationTestFailureDetails extends Object implements com.azure.json.JsonSerializable<ValidationTestFailureDetails>
Detailed information about test failure.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the details property: Detailed information about the failure.
    Get the diagnosticInfo property: Additional diagnostic information.
    Get the errorCode property: Error code categorizing the type of failure.
    Get the errorMessage property: Human-readable error message describing the failure.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of ValidationTestFailureDetails from the JsonReader.
    Get the recommendedActions property: Suggested remediation steps for the customer.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Method Details

    • errorCode

      public String errorCode()
      Get the errorCode property: Error code categorizing the type of failure.
      Returns:
      the errorCode value.
    • errorMessage

      public String errorMessage()
      Get the errorMessage property: Human-readable error message describing the failure.
      Returns:
      the errorMessage value.
    • details

      public String details()
      Get the details property: Detailed information about the failure.
      Returns:
      the details value.
    • diagnosticInfo

      public String diagnosticInfo()
      Get the diagnosticInfo property: Additional diagnostic information.
      Returns:
      the diagnosticInfo value.
    • recommendedActions

      public List<String> recommendedActions()
      Get the recommendedActions property: Suggested remediation steps for the customer.
      Returns:
      the recommendedActions value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ValidationTestFailureDetails>
      Throws:
      IOException
    • fromJson

      public static ValidationTestFailureDetails fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ValidationTestFailureDetails from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ValidationTestFailureDetails if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the ValidationTestFailureDetails.