Class DateAfterModification
- java.lang.Object
-
- com.azure.resourcemanager.storage.models.DateAfterModification
-
public final class DateAfterModification extends Object
Object to define the number of days after object last modification Or last access. Properties daysAfterModificationGreaterThan and daysAfterLastAccessTimeGreaterThan are mutually exclusive.
-
-
Constructor Summary
Constructors Constructor Description DateAfterModification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FloatdaysAfterLastAccessTimeGreaterThan()Get the daysAfterLastAccessTimeGreaterThan property: Value indicating the age in days after last blob access.FloatdaysAfterModificationGreaterThan()Get the daysAfterModificationGreaterThan property: Value indicating the age in days after last modification.voidvalidate()Validates the instance.DateAfterModificationwithDaysAfterLastAccessTimeGreaterThan(Float daysAfterLastAccessTimeGreaterThan)Set the daysAfterLastAccessTimeGreaterThan property: Value indicating the age in days after last blob access.DateAfterModificationwithDaysAfterModificationGreaterThan(Float daysAfterModificationGreaterThan)Set the daysAfterModificationGreaterThan property: Value indicating the age in days after last modification.
-
-
-
Method Detail
-
daysAfterModificationGreaterThan
public Float daysAfterModificationGreaterThan()
Get the daysAfterModificationGreaterThan property: Value indicating the age in days after last modification.- Returns:
- the daysAfterModificationGreaterThan value.
-
withDaysAfterModificationGreaterThan
public DateAfterModification withDaysAfterModificationGreaterThan(Float daysAfterModificationGreaterThan)
Set the daysAfterModificationGreaterThan property: Value indicating the age in days after last modification.- Parameters:
daysAfterModificationGreaterThan- the daysAfterModificationGreaterThan value to set.- Returns:
- the DateAfterModification object itself.
-
daysAfterLastAccessTimeGreaterThan
public Float daysAfterLastAccessTimeGreaterThan()
Get the daysAfterLastAccessTimeGreaterThan property: Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy.- Returns:
- the daysAfterLastAccessTimeGreaterThan value.
-
withDaysAfterLastAccessTimeGreaterThan
public DateAfterModification withDaysAfterLastAccessTimeGreaterThan(Float daysAfterLastAccessTimeGreaterThan)
Set the daysAfterLastAccessTimeGreaterThan property: Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy.- Parameters:
daysAfterLastAccessTimeGreaterThan- the daysAfterLastAccessTimeGreaterThan value to set.- Returns:
- the DateAfterModification object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-