azure-docs-sdk-java/docs-ref-autogen/com.microsoft.azure.managem...

82 строки
4.6 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.storage.DeleteRetentionPolicy"
fullName: "com.microsoft.azure.management.storage.DeleteRetentionPolicy"
name: "DeleteRetentionPolicy"
nameWithType: "DeleteRetentionPolicy"
summary: "The service properties for soft delete."
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 class DeleteRetentionPolicy"
constructors:
- uid: "com.microsoft.azure.management.storage.DeleteRetentionPolicy.DeleteRetentionPolicy()"
fullName: "com.microsoft.azure.management.storage.DeleteRetentionPolicy.DeleteRetentionPolicy()"
name: "DeleteRetentionPolicy()"
nameWithType: "DeleteRetentionPolicy.DeleteRetentionPolicy()"
syntax: "public DeleteRetentionPolicy()"
methods:
- uid: "com.microsoft.azure.management.storage.DeleteRetentionPolicy.days()"
fullName: "com.microsoft.azure.management.storage.DeleteRetentionPolicy.days()"
name: "days()"
nameWithType: "DeleteRetentionPolicy.days()"
summary: "Get indicates the number of days that the deleted item should be retained."
syntax: "public Integer days()"
desc: "Get indicates the number of days that the deleted item should be retained. The minimum specified value can be 1 and the maximum value can be 365."
returns:
description: "the days value"
type: "<xref href=\"java.lang.Integer?alt=java.lang.Integer&text=Integer\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.storage.DeleteRetentionPolicy.enabled()"
fullName: "com.microsoft.azure.management.storage.DeleteRetentionPolicy.enabled()"
name: "enabled()"
nameWithType: "DeleteRetentionPolicy.enabled()"
summary: "Get indicates whether Delete<wbr>Retention<wbr>Policy is enabled."
syntax: "public Boolean enabled()"
desc: "Get indicates whether DeleteRetentionPolicy is enabled."
returns:
description: "the enabled value"
type: "<xref href=\"java.lang.Boolean?alt=java.lang.Boolean&text=Boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.storage.DeleteRetentionPolicy.withDays(java.lang.Integer)"
fullName: "com.microsoft.azure.management.storage.DeleteRetentionPolicy.withDays(Integer days)"
name: "withDays(Integer days)"
nameWithType: "DeleteRetentionPolicy.withDays(Integer days)"
summary: "Set indicates the number of days that the deleted item should be retained."
parameters:
- description: "the days value to set"
name: "days"
type: "<xref href=\"java.lang.Integer?alt=java.lang.Integer&text=Integer\" data-throw-if-not-resolved=\"False\" />"
syntax: "public DeleteRetentionPolicy withDays(Integer days)"
desc: "Set indicates the number of days that the deleted item should be retained. The minimum specified value can be 1 and the maximum value can be 365."
returns:
description: "the DeleteRetentionPolicy object itself."
type: "<xref href=\"com.microsoft.azure.management.storage.DeleteRetentionPolicy?alt=com.microsoft.azure.management.storage.DeleteRetentionPolicy&text=DeleteRetentionPolicy\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.storage.DeleteRetentionPolicy.withEnabled(java.lang.Boolean)"
fullName: "com.microsoft.azure.management.storage.DeleteRetentionPolicy.withEnabled(Boolean enabled)"
name: "withEnabled(Boolean enabled)"
nameWithType: "DeleteRetentionPolicy.withEnabled(Boolean enabled)"
summary: "Set indicates whether Delete<wbr>Retention<wbr>Policy is enabled."
parameters:
- description: "the enabled value to set"
name: "enabled"
type: "<xref href=\"java.lang.Boolean?alt=java.lang.Boolean&text=Boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public DeleteRetentionPolicy withEnabled(Boolean enabled)"
desc: "Set indicates whether DeleteRetentionPolicy is enabled."
returns:
description: "the DeleteRetentionPolicy object itself."
type: "<xref href=\"com.microsoft.azure.management.storage.DeleteRetentionPolicy?alt=com.microsoft.azure.management.storage.DeleteRetentionPolicy&text=DeleteRetentionPolicy\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The service properties for soft delete."
metadata: {}
package: "com.microsoft.azure.management.storage"
artifact: com.microsoft.azure:azure-mgmt-storage:1.41.4