Class AdditionalErrorInfo

java.lang.Object
com.azure.resourcemanager.databox.models.AdditionalErrorInfo

public final class AdditionalErrorInfo extends Object
Additional error info.
  • Constructor Details

    • AdditionalErrorInfo

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

    • type

      public String type()
      Get the type property: Additional error type.
      Returns:
      the type value.
    • withType

      public AdditionalErrorInfo withType(String type)
      Set the type property: Additional error type.
      Parameters:
      type - the type value to set.
      Returns:
      the AdditionalErrorInfo object itself.
    • info

      public Object info()
      Get the info property: Additional error info.
      Returns:
      the info value.
    • withInfo

      public AdditionalErrorInfo withInfo(Object info)
      Set the info property: Additional error info.
      Parameters:
      info - the info value to set.
      Returns:
      the AdditionalErrorInfo object itself.
    • validate

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