Class ManagementPolicySchema
java.lang.Object
com.azure.resourcemanager.storage.models.ManagementPolicySchema
The Storage Account ManagementPolicies Rules. See more details in:
https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagementPolicySchema class. -
Method Summary
Modifier and TypeMethodDescriptionrules()Get the rules property: The Storage Account ManagementPolicies Rules.voidvalidate()Validates the instance.withRules(List<ManagementPolicyRule> rules) Set the rules property: The Storage Account ManagementPolicies Rules.
-
Constructor Details
-
ManagementPolicySchema
public ManagementPolicySchema()Creates an instance of ManagementPolicySchema class.
-
-
Method Details
-
rules
Get the rules property: The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.- Returns:
- the rules value.
-
withRules
Set the rules property: The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.- Parameters:
rules- the rules value to set.- Returns:
- the ManagementPolicySchema object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-