Class ManagementPolicyDefinition

java.lang.Object
com.microsoft.azure.management.storage.ManagementPolicyDefinition

public class ManagementPolicyDefinition extends Object
An object that defines the Lifecycle rule. Each definition is made up with a filters set and an actions set.
  • Constructor Details

    • ManagementPolicyDefinition

      public ManagementPolicyDefinition()
  • Method Details

    • actions

      public ManagementPolicyAction actions()
      Get an object that defines the action set.
      Returns:
      the actions value
    • withActions

      public ManagementPolicyDefinition withActions(ManagementPolicyAction actions)
      Set an object that defines the action set.
      Parameters:
      actions - the actions value to set
      Returns:
      the ManagementPolicyDefinition object itself.
    • filters

      public ManagementPolicyFilter filters()
      Get an object that defines the filter set.
      Returns:
      the filters value
    • withFilters

      public ManagementPolicyDefinition withFilters(ManagementPolicyFilter filters)
      Set an object that defines the filter set.
      Parameters:
      filters - the filters value to set
      Returns:
      the ManagementPolicyDefinition object itself.