Uses of Class
com.azure.storage.queue.models.QueueRetentionPolicy
Packages that use QueueRetentionPolicy
Package
Description
Package containing the data models for AzureQueueStorage.
-
Uses of QueueRetentionPolicy in com.azure.storage.queue.models
Methods in com.azure.storage.queue.models that return QueueRetentionPolicyModifier and TypeMethodDescriptionstatic QueueRetentionPolicyQueueRetentionPolicy.fromXml(com.azure.xml.XmlReader xmlReader) Reads an instance of QueueRetentionPolicy from the XmlReader.static QueueRetentionPolicyReads an instance of QueueRetentionPolicy from the XmlReader.QueueAnalyticsLogging.getRetentionPolicy()Get the retentionPolicy property: the retention policy.QueueMetrics.getRetentionPolicy()Get the retentionPolicy property: the retention policy.Set the days property: Indicates the number of days that metrics or logging or soft-deleted data should be retained.QueueRetentionPolicy.setEnabled(boolean enabled) Set the enabled property: Indicates whether a retention policy is enabled for the storage service.Methods in com.azure.storage.queue.models with parameters of type QueueRetentionPolicyModifier and TypeMethodDescriptionQueueAnalyticsLogging.setRetentionPolicy(QueueRetentionPolicy retentionPolicy) Set the retentionPolicy property: the retention policy.QueueMetrics.setRetentionPolicy(QueueRetentionPolicy retentionPolicy) Set the retentionPolicy property: the retention policy.