Uses of Class
com.azure.storage.blob.models.BlobRetentionPolicy
Packages that use BlobRetentionPolicy
Package
Description
Package containing the data models for AzureBlobStorage.
-
Uses of BlobRetentionPolicy in com.azure.storage.blob.models
Methods in com.azure.storage.blob.models that return BlobRetentionPolicyModifier and TypeMethodDescriptionstatic BlobRetentionPolicyBlobRetentionPolicy.fromXml(com.azure.xml.XmlReader xmlReader) Reads an instance of BlobRetentionPolicy from the XmlReader.static BlobRetentionPolicyReads an instance of BlobRetentionPolicy from the XmlReader.BlobServiceProperties.getDeleteRetentionPolicy()Get the deleteRetentionPolicy property: the retention policy which determines how long the associated data should persist.BlobAnalyticsLogging.getRetentionPolicy()Get the retentionPolicy property: the retention policy which determines how long the associated data should persist.BlobMetrics.getRetentionPolicy()Get the retentionPolicy property: the retention policy which determines how long the associated data should persist.Set the days property: Indicates the number of days that metrics or logging or soft-deleted data should be retained.BlobRetentionPolicy.setEnabled(boolean enabled) Set the enabled property: Indicates whether a retention policy is enabled for the storage service.Methods in com.azure.storage.blob.models with parameters of type BlobRetentionPolicyModifier and TypeMethodDescriptionBlobServiceProperties.setDeleteRetentionPolicy(BlobRetentionPolicy deleteRetentionPolicy) Set the deleteRetentionPolicy property: the retention policy which determines how long the associated data should persist.BlobAnalyticsLogging.setRetentionPolicy(BlobRetentionPolicy retentionPolicy) Set the retentionPolicy property: the retention policy which determines how long the associated data should persist.BlobMetrics.setRetentionPolicy(BlobRetentionPolicy retentionPolicy) Set the retentionPolicy property: the retention policy which determines how long the associated data should persist.