Class VolumePatchPropertiesExportPolicy
- java.lang.Object
-
- com.azure.resourcemanager.netapp.models.VolumePatchPropertiesExportPolicy
-
public final class VolumePatchPropertiesExportPolicy extends Object
exportPolicy Set of export policy rules.
-
-
Constructor Summary
Constructors Constructor Description VolumePatchPropertiesExportPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ExportPolicyRule>
rules()
Get the rules property: Export policy rule.void
validate()
Validates the instance.VolumePatchPropertiesExportPolicy
withRules(List<ExportPolicyRule> rules)
Set the rules property: Export policy rule.
-
-
-
Method Detail
-
rules
public List<ExportPolicyRule> rules()
Get the rules property: Export policy rule.- Returns:
- the rules value.
-
withRules
public VolumePatchPropertiesExportPolicy withRules(List<ExportPolicyRule> rules)
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.
-
-