Class ErrorDetail

java.lang.Object
com.azure.resourcemanager.redis.models.ErrorDetail

public final class ErrorDetail extends Object
The error detail.
  • Constructor Details

    • ErrorDetail

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

    • code

      public String code()
      Get the code property: The error code.
      Returns:
      the code value.
    • message

      public String message()
      Get the message property: The error message.
      Returns:
      the message value.
    • target

      public String target()
      Get the target property: The error target.
      Returns:
      the target value.
    • details

      public List<ErrorDetail> details()
      Get the details property: The error details.
      Returns:
      the details value.
    • additionalInfo

      public List<ErrorAdditionalInfo> additionalInfo()
      Get the additionalInfo property: The error additional info.
      Returns:
      the additionalInfo value.
    • validate

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