azure-docs-sdk-java/docs-ref-autogen/com.azure.storage.queue.mod...

82 строки
4.6 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.storage.queue.models.QueueRetentionPolicy"
fullName: "com.azure.storage.queue.models.QueueRetentionPolicy"
name: "QueueRetentionPolicy"
nameWithType: "QueueRetentionPolicy"
summary: "the retention policy."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedMembers:
- "java.lang.Object.clone()"
- "java.lang.Object.equals(java.lang.Object)"
- "java.lang.Object.finalize()"
- "java.lang.Object.getClass()"
- "java.lang.Object.hashCode()"
- "java.lang.Object.notify()"
- "java.lang.Object.notifyAll()"
- "java.lang.Object.toString()"
- "java.lang.Object.wait()"
- "java.lang.Object.wait(long)"
- "java.lang.Object.wait(long,int)"
syntax: "public final class QueueRetentionPolicy"
constructors:
- uid: "com.azure.storage.queue.models.QueueRetentionPolicy.QueueRetentionPolicy()"
fullName: "com.azure.storage.queue.models.QueueRetentionPolicy.QueueRetentionPolicy()"
name: "QueueRetentionPolicy()"
nameWithType: "QueueRetentionPolicy.QueueRetentionPolicy()"
syntax: "public QueueRetentionPolicy()"
methods:
- uid: "com.azure.storage.queue.models.QueueRetentionPolicy.getDays()"
fullName: "com.azure.storage.queue.models.QueueRetentionPolicy.getDays()"
name: "getDays()"
nameWithType: "QueueRetentionPolicy.getDays()"
summary: "Get the days property: Indicates the number of days that metrics or logging or soft-deleted data should be retained."
syntax: "public Integer getDays()"
desc: "Get the days property: Indicates the number of days that metrics or logging or soft-deleted data should be retained. All data older than this value will be deleted."
returns:
description: "the days value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.storage.queue.models.QueueRetentionPolicy.isEnabled()"
fullName: "com.azure.storage.queue.models.QueueRetentionPolicy.isEnabled()"
name: "isEnabled()"
nameWithType: "QueueRetentionPolicy.isEnabled()"
summary: "Get the enabled property: Indicates whether a retention policy is enabled for the storage service."
syntax: "public boolean isEnabled()"
desc: "Get the enabled property: Indicates whether a retention policy is enabled for the storage service."
returns:
description: "the enabled value."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.queue.models.QueueRetentionPolicy.setDays(java.lang.Integer)"
fullName: "com.azure.storage.queue.models.QueueRetentionPolicy.setDays(Integer days)"
name: "setDays(Integer days)"
nameWithType: "QueueRetentionPolicy.setDays(Integer days)"
summary: "Set the days property: Indicates the number of days that metrics or logging or soft-deleted data should be retained."
parameters:
- description: "the days value to set."
name: "days"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public QueueRetentionPolicy setDays(Integer days)"
desc: "Set the days property: Indicates the number of days that metrics or logging or soft-deleted data should be retained. All data older than this value will be deleted."
returns:
description: "the QueueRetentionPolicy object itself."
type: "<xref href=\"com.azure.storage.queue.models.QueueRetentionPolicy?alt=com.azure.storage.queue.models.QueueRetentionPolicy&text=QueueRetentionPolicy\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.queue.models.QueueRetentionPolicy.setEnabled(boolean)"
fullName: "com.azure.storage.queue.models.QueueRetentionPolicy.setEnabled(boolean enabled)"
name: "setEnabled(boolean enabled)"
nameWithType: "QueueRetentionPolicy.setEnabled(boolean enabled)"
summary: "Set the enabled property: Indicates whether a retention policy is enabled for the storage service."
parameters:
- description: "the enabled value to set."
name: "enabled"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public QueueRetentionPolicy setEnabled(boolean enabled)"
desc: "Set the enabled property: Indicates whether a retention policy is enabled for the storage service."
returns:
description: "the QueueRetentionPolicy object itself."
type: "<xref href=\"com.azure.storage.queue.models.QueueRetentionPolicy?alt=com.azure.storage.queue.models.QueueRetentionPolicy&text=QueueRetentionPolicy\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "the retention policy."
metadata: {}
package: "com.azure.storage.queue.models"
artifact: com.azure:azure-storage-queue:12.14.2