Class ManagementPolicySchema
- java.lang.Object
-
- com.azure.resourcemanager.storage.models.ManagementPolicySchema
-
public final class ManagementPolicySchema extends Object
The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
-
-
Constructor Summary
Constructors Constructor Description ManagementPolicySchema()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ManagementPolicyRule>rules()Get the rules property: The Storage Account ManagementPolicies Rules.voidvalidate()Validates the instance.ManagementPolicySchemawithRules(List<ManagementPolicyRule> rules)Set the rules property: The Storage Account ManagementPolicies Rules.
-
-
-
Method Detail
-
rules
public List<ManagementPolicyRule> 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
public ManagementPolicySchema withRules(List<ManagementPolicyRule> rules)
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.
-
-