ManagementPolicySchema Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. ManagementPolicySchema
- com.
Implements
public final class ManagementPolicySchema
implements JsonSerializable<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
Constructor | Description |
---|---|
ManagementPolicySchema() |
Creates an instance of Management |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Management |
fromJson(JsonReader jsonReader)
Reads an instance of Management |
List<Management |
rules()
Get the rules property: The Storage Account Management |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Management |
withRules(List<ManagementPolicyRule> rules)
Set the rules property: The Storage Account Management |
Methods inherited from java.lang.Object
Constructor Details
ManagementPolicySchema
public ManagementPolicySchema()
Creates an instance of ManagementPolicySchema class.
Method Details
fromJson
public static ManagementPolicySchema fromJson(JsonReader jsonReader)
Reads an instance of ManagementPolicySchema from the JsonReader.
Parameters:
Returns:
Throws:
rules
public List
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:
toJson
validate
public void validate()
Validates the instance.
withRules
public ManagementPolicySchema withRules(List
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:
Returns: