Class UpdateHistoryProperty
- java.lang.Object
-
- com.azure.resourcemanager.storage.models.UpdateHistoryProperty
-
public final class UpdateHistoryProperty extends Object
An update history of the ImmutabilityPolicy of a blob container.
-
-
Constructor Summary
Constructors Constructor Description UpdateHistoryProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerimmutabilityPeriodSinceCreationInDays()Get the immutabilityPeriodSinceCreationInDays property: The immutability period for the blobs in the container since the policy creation, in days.StringobjectIdentifier()Get the objectIdentifier property: Returns the Object ID of the user who updated the ImmutabilityPolicy.StringtenantId()Get the tenantId property: Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy.OffsetDateTimetimestamp()Get the timestamp property: Returns the date and time the ImmutabilityPolicy was updated.ImmutabilityPolicyUpdateTypeupdate()Get the update property: The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend.Stringupn()Get the upn property: Returns the User Principal Name of the user who updated the ImmutabilityPolicy.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
update
public ImmutabilityPolicyUpdateType update()
Get the update property: The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend.- Returns:
- the update value.
-
immutabilityPeriodSinceCreationInDays
public Integer immutabilityPeriodSinceCreationInDays()
Get the immutabilityPeriodSinceCreationInDays property: The immutability period for the blobs in the container since the policy creation, in days.- Returns:
- the immutabilityPeriodSinceCreationInDays value.
-
timestamp
public OffsetDateTime timestamp()
Get the timestamp property: Returns the date and time the ImmutabilityPolicy was updated.- Returns:
- the timestamp value.
-
objectIdentifier
public String objectIdentifier()
Get the objectIdentifier property: Returns the Object ID of the user who updated the ImmutabilityPolicy.- Returns:
- the objectIdentifier value.
-
tenantId
public String tenantId()
Get the tenantId property: Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy.- Returns:
- the tenantId value.
-
upn
public String upn()
Get the upn property: Returns the User Principal Name of the user who updated the ImmutabilityPolicy.- Returns:
- the upn value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-