Class ValidationError

java.lang.Object
com.azure.resourcemanager.datamigration.models.ValidationError

public final class ValidationError extends Object
Description about the errors happen while performing migration validation.
  • Constructor Details

    • ValidationError

      public ValidationError()
      Creates an instance of ValidationError class.
  • Method Details

    • text

      public String text()
      Get the text property: Error Text.
      Returns:
      the text value.
    • severity

      public Severity severity()
      Get the severity property: Severity of the error.
      Returns:
      the severity value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.