Class BlobInventoryCreationTime
java.lang.Object
com.azure.resourcemanager.storage.models.BlobInventoryCreationTime
This property defines the creation time based filtering condition. Blob Inventory schema parameter 'Creation-Time' is
mandatory with this filter.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of BlobInventoryCreationTime class. -
Method Summary
Modifier and TypeMethodDescriptionGet the lastNDays property: When set the policy filters the objects that are created in the last N days.voidvalidate()Validates the instance.withLastNDays(Integer lastNDays) Set the lastNDays property: When set the policy filters the objects that are created in the last N days.
-
Constructor Details
-
BlobInventoryCreationTime
public BlobInventoryCreationTime()Creates an instance of BlobInventoryCreationTime class.
-
-
Method Details
-
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
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.
-