86 строки
6.4 KiB
YAML
86 строки
6.4 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.data.tables.models.TableServiceRetentionPolicy"
|
|
fullName: "com.azure.data.tables.models.TableServiceRetentionPolicy"
|
|
name: "TableServiceRetentionPolicy"
|
|
nameWithType: "TableServiceRetentionPolicy"
|
|
summary: "The Table service retention policy."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **TableServiceRetentionPolicy**"
|
|
constructors:
|
|
- uid: "com.azure.data.tables.models.TableServiceRetentionPolicy.TableServiceRetentionPolicy()"
|
|
fullName: "com.azure.data.tables.models.TableServiceRetentionPolicy.TableServiceRetentionPolicy()"
|
|
name: "TableServiceRetentionPolicy()"
|
|
nameWithType: "TableServiceRetentionPolicy.TableServiceRetentionPolicy()"
|
|
summary: "Creates a <xref uid=\"com.azure.data.tables.models.TableServiceRetentionPolicy\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TableServiceRetentionPolicy\"></xref>."
|
|
syntax: "public TableServiceRetentionPolicy()"
|
|
desc: "Creates a <xref uid=\"com.azure.data.tables.models.TableServiceRetentionPolicy\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TableServiceRetentionPolicy\"></xref>."
|
|
methods:
|
|
- uid: "com.azure.data.tables.models.TableServiceRetentionPolicy.getDaysToRetain()"
|
|
fullName: "com.azure.data.tables.models.TableServiceRetentionPolicy.getDaysToRetain()"
|
|
name: "getDaysToRetain()"
|
|
nameWithType: "TableServiceRetentionPolicy.getDaysToRetain()"
|
|
summary: "Get the number of days that metrics or logging or soft-deleted data should be retained."
|
|
syntax: "public Integer getDaysToRetain()"
|
|
desc: "Get 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 <code>daysToRetain</code>."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
- uid: "com.azure.data.tables.models.TableServiceRetentionPolicy.isEnabled()"
|
|
fullName: "com.azure.data.tables.models.TableServiceRetentionPolicy.isEnabled()"
|
|
name: "isEnabled()"
|
|
nameWithType: "TableServiceRetentionPolicy.isEnabled()"
|
|
summary: "Get a value that indicates whether a retention policy is enabled for the Table service."
|
|
syntax: "public boolean isEnabled()"
|
|
desc: "Get a value that indicates whether a retention policy is enabled for the Table service."
|
|
returns:
|
|
description: "The <code>enabled</code> value."
|
|
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.data.tables.models.TableServiceRetentionPolicy.setDaysToRetain(java.lang.Integer)"
|
|
fullName: "com.azure.data.tables.models.TableServiceRetentionPolicy.setDaysToRetain(Integer daysToRetain)"
|
|
name: "setDaysToRetain(Integer daysToRetain)"
|
|
nameWithType: "TableServiceRetentionPolicy.setDaysToRetain(Integer daysToRetain)"
|
|
summary: "Set the number of days<wbr>ToRetain that metrics or logging or soft-deleted data should be retained."
|
|
parameters:
|
|
- description: "The <code>daysToRetain</code> to set."
|
|
name: "daysToRetain"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
syntax: "public TableServiceRetentionPolicy setDaysToRetain(Integer daysToRetain)"
|
|
desc: "Set the number of daysToRetain that metrics or logging or soft-deleted data should be retained. All data older than this value will be deleted."
|
|
returns:
|
|
description: "The updated <xref uid=\"com.azure.data.tables.models.TableServiceRetentionPolicy\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TableServiceRetentionPolicy\"></xref> object."
|
|
type: "<xref href=\"com.azure.data.tables.models.TableServiceRetentionPolicy?alt=com.azure.data.tables.models.TableServiceRetentionPolicy&text=TableServiceRetentionPolicy\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.data.tables.models.TableServiceRetentionPolicy.setEnabled(boolean)"
|
|
fullName: "com.azure.data.tables.models.TableServiceRetentionPolicy.setEnabled(boolean enabled)"
|
|
name: "setEnabled(boolean enabled)"
|
|
nameWithType: "TableServiceRetentionPolicy.setEnabled(boolean enabled)"
|
|
summary: "Set a value that indicates whether a retention policy is enabled for the Table service."
|
|
parameters:
|
|
- description: "The <code>enabled</code> value to set."
|
|
name: "enabled"
|
|
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public TableServiceRetentionPolicy setEnabled(boolean enabled)"
|
|
desc: "Set a value that indicates whether a retention policy is enabled for the Table service."
|
|
returns:
|
|
description: "The updated <xref uid=\"com.azure.data.tables.models.TableServiceRetentionPolicy\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TableServiceRetentionPolicy\"></xref> object."
|
|
type: "<xref href=\"com.azure.data.tables.models.TableServiceRetentionPolicy?alt=com.azure.data.tables.models.TableServiceRetentionPolicy&text=TableServiceRetentionPolicy\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "The Table service retention policy."
|
|
metadata: {}
|
|
package: "com.azure.data.tables.models"
|
|
artifact: com.azure:azure-data-tables:12.4.6
|