Class VolumePropertiesExportPolicy
java.lang.Object
com.azure.resourcemanager.netapp.models.VolumePropertiesExportPolicy
exportPolicy
Set of export policy rules.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionrules()
Get the rules property: Export policy rule.void
validate()
Validates the instance.withRules
(List<ExportPolicyRule> rules) Set the rules property: Export policy rule.
-
Constructor Details
-
VolumePropertiesExportPolicy
public VolumePropertiesExportPolicy()
-
-
Method Details
-
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.
-