Class KubernetesStorageClassRestoreCriteria
java.lang.Object
com.azure.resourcemanager.dataprotection.models.ItemLevelRestoreCriteria
com.azure.resourcemanager.dataprotection.models.KubernetesStorageClassRestoreCriteria
Item Level kubernetes storage class target info for restore operation.
-
Constructor Summary
ConstructorDescriptionCreates an instance of KubernetesStorageClassRestoreCriteria class. -
Method Summary
Modifier and TypeMethodDescriptionGet the provisioner property: Provisioner of the storage class.Get the selectedStorageClassName property: Selected storage class name.void
validate()
Validates the instance.withProvisioner
(String provisioner) Set the provisioner property: Provisioner of the storage class.withSelectedStorageClassName
(String selectedStorageClassName) Set the selectedStorageClassName property: Selected storage class name.
-
Constructor Details
-
KubernetesStorageClassRestoreCriteria
public KubernetesStorageClassRestoreCriteria()Creates an instance of KubernetesStorageClassRestoreCriteria class.
-
-
Method Details
-
selectedStorageClassName
Get the selectedStorageClassName property: Selected storage class name.- Returns:
- the selectedStorageClassName value.
-
withSelectedStorageClassName
public KubernetesStorageClassRestoreCriteria withSelectedStorageClassName(String selectedStorageClassName) Set the selectedStorageClassName property: Selected storage class name.- Parameters:
selectedStorageClassName
- the selectedStorageClassName value to set.- Returns:
- the KubernetesStorageClassRestoreCriteria object itself.
-
provisioner
Get the provisioner property: Provisioner of the storage class.- Returns:
- the provisioner value.
-
withProvisioner
Set the provisioner property: Provisioner of the storage class.- Parameters:
provisioner
- the provisioner value to set.- Returns:
- the KubernetesStorageClassRestoreCriteria object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classItemLevelRestoreCriteria
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-