### 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: - "" inheritedClassMethods: - classRef: "" methodsRef: - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" 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: "" - 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 DeleteRetentionPolicy is enabled." syntax: "public Boolean enabled()" desc: "Get indicates whether DeleteRetentionPolicy is enabled." returns: description: "the enabled value" type: "" - 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: "" 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: "" - 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 DeleteRetentionPolicy is enabled." parameters: - description: "the enabled value to set" name: "enabled" type: "" syntax: "public DeleteRetentionPolicy withEnabled(Boolean enabled)" desc: "Set indicates whether DeleteRetentionPolicy is enabled." returns: description: "the DeleteRetentionPolicy object itself." type: "" 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