java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.InquiryInfo

public final class InquiryInfo extends Object
Details about inquired protectable items under a given container.
  • Constructor Details

    • InquiryInfo

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

    • status

      public String status()
      Get the status property: Inquiry Status for this container such as InProgress | Failed | Succeeded.
      Returns:
      the status value.
    • withStatus

      public InquiryInfo withStatus(String status)
      Set the status property: Inquiry Status for this container such as InProgress | Failed | Succeeded.
      Parameters:
      status - the status value to set.
      Returns:
      the InquiryInfo object itself.
    • errorDetail

      public ErrorDetail errorDetail()
      Get the errorDetail property: Error Details if the Status is non-success.
      Returns:
      the errorDetail value.
    • withErrorDetail

      public InquiryInfo withErrorDetail(ErrorDetail errorDetail)
      Set the errorDetail property: Error Details if the Status is non-success.
      Parameters:
      errorDetail - the errorDetail value to set.
      Returns:
      the InquiryInfo object itself.
    • inquiryDetails

      public List<WorkloadInquiryDetails> inquiryDetails()
      Get the inquiryDetails property: Inquiry Details which will have workload specific details. For e.g. - For SQL and oracle this will contain different details.
      Returns:
      the inquiryDetails value.
    • withInquiryDetails

      public InquiryInfo withInquiryDetails(List<WorkloadInquiryDetails> inquiryDetails)
      Set the inquiryDetails property: Inquiry Details which will have workload specific details. For e.g. - For SQL and oracle this will contain different details.
      Parameters:
      inquiryDetails - the inquiryDetails value to set.
      Returns:
      the InquiryInfo object itself.
    • validate

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