public class ImmutabilityPolicyProperties extends Object
Constructor and Description |
---|
ImmutabilityPolicyProperties() |
Modifier and Type | Method and Description |
---|---|
String |
etag()
Get immutabilityPolicy Etag.
|
int |
immutabilityPeriodSinceCreationInDays()
Get the immutability period for the blobs in the container since the policy creation, in days.
|
ImmutabilityPolicyState |
state()
Get the ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.
|
List<UpdateHistoryProperty> |
updateHistory()
Get the ImmutabilityPolicy update history of the blob container.
|
ImmutabilityPolicyProperties |
withImmutabilityPeriodSinceCreationInDays(int immutabilityPeriodSinceCreationInDays)
Set the immutability period for the blobs in the container since the policy creation, in days.
|
public int immutabilityPeriodSinceCreationInDays()
public ImmutabilityPolicyProperties withImmutabilityPeriodSinceCreationInDays(int immutabilityPeriodSinceCreationInDays)
immutabilityPeriodSinceCreationInDays
- the immutabilityPeriodSinceCreationInDays value to setpublic ImmutabilityPolicyState state()
public String etag()
public List<UpdateHistoryProperty> updateHistory()
Copyright © 2019. All rights reserved.