Class VolumePatchPropertiesExportPolicy

java.lang.Object
com.azure.resourcemanager.netapp.models.VolumePatchPropertiesExportPolicy

public final class VolumePatchPropertiesExportPolicy extends Object
exportPolicy

Set of export policy rules.

  • Constructor Details

    • VolumePatchPropertiesExportPolicy

      public VolumePatchPropertiesExportPolicy()
  • Method Details

    • rules

      public List<ExportPolicyRule> rules()
      Get the rules property: Export policy rule.
      Returns:
      the rules value.
    • withRules

      Set the rules property: Export policy rule.
      Parameters:
      rules - the rules value to set.
      Returns:
      the VolumePatchPropertiesExportPolicy object itself.
    • validate

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