Class MigrationErrorType

java.lang.Object
com.azure.resourcemanager.cdn.models.MigrationErrorType

public final class MigrationErrorType extends Object
Error response indicates CDN service is not able to process the incoming request. The reason is provided in the error message.
  • Constructor Details

    • MigrationErrorType

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

    • code

      public String code()
      Get the code property: Error code.
      Returns:
      the code value.
    • resourceName

      public String resourceName()
      Get the resourceName property: Resource which has the problem.
      Returns:
      the resourceName value.
    • errorMessage

      public String errorMessage()
      Get the errorMessage property: Error message indicating why the operation failed.
      Returns:
      the errorMessage value.
    • nextSteps

      public String nextSteps()
      Get the nextSteps property: Describes what needs to be done to fix the problem.
      Returns:
      the nextSteps value.
    • validate

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