Class KubernetesPVRestoreCriteria

java.lang.Object
com.azure.resourcemanager.dataprotection.models.ItemLevelRestoreCriteria
com.azure.resourcemanager.dataprotection.models.KubernetesPVRestoreCriteria

public final class KubernetesPVRestoreCriteria extends ItemLevelRestoreCriteria
Item Level kubernetes persistent volume target info for restore operation.
  • Constructor Details

    • KubernetesPVRestoreCriteria

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

    • name

      public String name()
      Get the name property: Selected persistent volume claim name.
      Returns:
      the name value.
    • withName

      public KubernetesPVRestoreCriteria withName(String name)
      Set the name property: Selected persistent volume claim name.
      Parameters:
      name - the name value to set.
      Returns:
      the KubernetesPVRestoreCriteria object itself.
    • storageClassName

      public String storageClassName()
      Get the storageClassName property: Selected storage class name for restore operation.
      Returns:
      the storageClassName value.
    • withStorageClassName

      public KubernetesPVRestoreCriteria withStorageClassName(String storageClassName)
      Set the storageClassName property: Selected storage class name for restore operation.
      Parameters:
      storageClassName - the storageClassName value to set.
      Returns:
      the KubernetesPVRestoreCriteria object itself.
    • validate

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