Class WorkloadInquiryDetails
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.WorkloadInquiryDetails
-
public final class WorkloadInquiryDetails extends Object
Details of an inquired protectable item.
-
-
Constructor Summary
Constructors Constructor Description WorkloadInquiryDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InquiryValidation
inquiryValidation()
Get the inquiryValidation property: Inquiry validation such as permissions and other backup validations.Long
itemCount()
Get the itemCount property: Contains the protectable item Count inside this Container.String
type()
Get the type property: Type of the Workload such as SQL, Oracle etc.void
validate()
Validates the instance.WorkloadInquiryDetails
withInquiryValidation(InquiryValidation inquiryValidation)
Set the inquiryValidation property: Inquiry validation such as permissions and other backup validations.WorkloadInquiryDetails
withItemCount(Long itemCount)
Set the itemCount property: Contains the protectable item Count inside this Container.WorkloadInquiryDetails
withType(String type)
Set the type property: Type of the Workload such as SQL, Oracle etc.
-
-
-
Method Detail
-
type
public String type()
Get the type property: Type of the Workload such as SQL, Oracle etc.- Returns:
- the type value.
-
withType
public WorkloadInquiryDetails withType(String type)
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
public Long itemCount()
Get the itemCount property: Contains the protectable item Count inside this Container.- Returns:
- the itemCount value.
-
withItemCount
public WorkloadInquiryDetails withItemCount(Long itemCount)
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
public InquiryValidation inquiryValidation()
Get the inquiryValidation property: Inquiry validation such as permissions and other backup validations.- Returns:
- the inquiryValidation value.
-
withInquiryValidation
public WorkloadInquiryDetails withInquiryValidation(InquiryValidation inquiryValidation)
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.
-
-