BlobImmutabilityPolicy Class
- java.
lang. Object - com.
azure. storage. blob. models. BlobImmutabilityPolicy
- com.
public final class BlobImmutabilityPolicy
Optional parameters for setting the immutability policy of a blob, blob snapshot or blob version.
Constructor Summary
Constructor | Description | |
---|---|---|
BlobImmutabilityPolicy() |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
BlobImmutabilityPolicy
public BlobImmutabilityPolicy()
Method Details
getExpiryTime
public OffsetDateTime getExpiryTime()
Returns:
The time when the immutability policy expires.
getPolicyMode
public BlobImmutabilityPolicyMode getPolicyMode()
Returns:
The immutability policy mode.
setExpiryTime
public BlobImmutabilityPolicy setExpiryTime(OffsetDateTime expiryTime)
Parameters:
expiryTime
- The time when the immutability policy expires.
Returns:
The updated BlobImmutabilityPolicy
setPolicyMode
public BlobImmutabilityPolicy setPolicyMode(BlobImmutabilityPolicyMode policyMode)
Parameters:
policyMode
- The immutability policy mode.
Returns:
The updated BlobImmutabilityPolicy
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for Java