Class WorkloadInquiryDetails
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.WorkloadInquiryDetails
Details of an inquired protectable item.
-
Constructor Summary
ConstructorDescriptionCreates an instance of WorkloadInquiryDetails class. -
Method Summary
Modifier and TypeMethodDescriptionGet the inquiryValidation property: Inquiry validation such as permissions and other backup validations.Get the itemCount property: Contains the protectable item Count inside this Container.type()
Get the type property: Type of the Workload such as SQL, Oracle etc.void
validate()
Validates the instance.withInquiryValidation
(InquiryValidation inquiryValidation) Set the inquiryValidation property: Inquiry validation such as permissions and other backup validations.withItemCount
(Long itemCount) Set the itemCount property: Contains the protectable item Count inside this Container.Set the type property: Type of the Workload such as SQL, Oracle etc.
-
Constructor Details
-
WorkloadInquiryDetails
public WorkloadInquiryDetails()Creates an instance of WorkloadInquiryDetails class.
-
-
Method Details
-
type
Get the type property: Type of the Workload such as SQL, Oracle etc.- Returns:
- the type value.
-
withType
Set the type property: Type of the Workload such as SQL, Oracle etc.- Parameters:
type
- the type value to set.- Returns:
- the WorkloadInquiryDetails object itself.
-
itemCount
Get the itemCount property: Contains the protectable item Count inside this Container.- Returns:
- the itemCount value.
-
withItemCount
Set the itemCount property: Contains the protectable item Count inside this Container.- Parameters:
itemCount
- the itemCount value to set.- Returns:
- the WorkloadInquiryDetails object itself.
-
inquiryValidation
Get the inquiryValidation property: Inquiry validation such as permissions and other backup validations.- Returns:
- the inquiryValidation value.
-
withInquiryValidation
Set the inquiryValidation property: Inquiry validation such as permissions and other backup validations.- Parameters:
inquiryValidation
- the inquiryValidation value to set.- Returns:
- the WorkloadInquiryDetails object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-