Class InquiryInfo
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.InquiryInfo
Details about inquired protectable items under a given container.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the errorDetail property: Error Details if the Status is non-success.Get the inquiryDetails property: Inquiry Details which will have workload specific details.status()
Get the status property: Inquiry Status for this container such as InProgress | Failed | Succeeded.void
validate()
Validates the instance.withErrorDetail
(ErrorDetail errorDetail) Set the errorDetail property: Error Details if the Status is non-success.withInquiryDetails
(List<WorkloadInquiryDetails> inquiryDetails) Set the inquiryDetails property: Inquiry Details which will have workload specific details.withStatus
(String status) Set the status property: Inquiry Status for this container such as InProgress | Failed | Succeeded.
-
Constructor Details
-
InquiryInfo
public InquiryInfo()Creates an instance of InquiryInfo class.
-
-
Method Details
-
status
Get the status property: Inquiry Status for this container such as InProgress | Failed | Succeeded.- Returns:
- the status value.
-
withStatus
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
Get the errorDetail property: Error Details if the Status is non-success.- Returns:
- the errorDetail value.
-
withErrorDetail
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
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
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.
-