Class VolumePropertiesExportPolicy

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

public final class VolumePropertiesExportPolicy extends Object
exportPolicy

Set of export policy rules.

  • Constructor Details

    • VolumePropertiesExportPolicy

      public VolumePropertiesExportPolicy()
  • 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 VolumePropertiesExportPolicy object itself.
    • validate

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