Class BlobInventoryCreationTime

java.lang.Object
com.azure.resourcemanager.storage.models.BlobInventoryCreationTime

public final class BlobInventoryCreationTime extends Object
This property defines the creation time based filtering condition. Blob Inventory schema parameter 'Creation-Time' is mandatory with this filter.
  • Constructor Details

    • BlobInventoryCreationTime

      public BlobInventoryCreationTime()
      Creates an instance of BlobInventoryCreationTime class.
  • Method Details

    • lastNDays

      public Integer lastNDays()
      Get the lastNDays property: When set the policy filters the objects that are created in the last N days. Where N is an integer value between 1 to 36500.
      Returns:
      the lastNDays value.
    • withLastNDays

      public BlobInventoryCreationTime withLastNDays(Integer lastNDays)
      Set the lastNDays property: When set the policy filters the objects that are created in the last N days. Where N is an integer value between 1 to 36500.
      Parameters:
      lastNDays - the lastNDays value to set.
      Returns:
      the BlobInventoryCreationTime object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.