146 строки
10 KiB
YAML
146 строки
10 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.storage.models.RestorePolicyProperties"
|
|
fullName: "com.azure.resourcemanager.storage.models.RestorePolicyProperties"
|
|
name: "RestorePolicyProperties"
|
|
nameWithType: "RestorePolicyProperties"
|
|
summary: "The blob service properties for blob restore 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 **RestorePolicyProperties**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.storage.models.RestorePolicyProperties?alt=com.azure.resourcemanager.storage.models.RestorePolicyProperties&text=RestorePolicyProperties\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.storage.models.RestorePolicyProperties.RestorePolicyProperties()"
|
|
fullName: "com.azure.resourcemanager.storage.models.RestorePolicyProperties.RestorePolicyProperties()"
|
|
name: "RestorePolicyProperties()"
|
|
nameWithType: "RestorePolicyProperties.RestorePolicyProperties()"
|
|
summary: "Creates an instance of Restore<wbr>Policy<wbr>Properties class."
|
|
syntax: "public RestorePolicyProperties()"
|
|
desc: "Creates an instance of RestorePolicyProperties class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.storage.models.RestorePolicyProperties.days()"
|
|
fullName: "com.azure.resourcemanager.storage.models.RestorePolicyProperties.days()"
|
|
name: "days()"
|
|
nameWithType: "RestorePolicyProperties.days()"
|
|
summary: "Get the days property: how long this blob can be restored."
|
|
syntax: "public Integer days()"
|
|
desc: "Get the days property: how long this blob can be restored. It should be great than zero and less than DeleteRetentionPolicy.days."
|
|
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.resourcemanager.storage.models.RestorePolicyProperties.enabled()"
|
|
fullName: "com.azure.resourcemanager.storage.models.RestorePolicyProperties.enabled()"
|
|
name: "enabled()"
|
|
nameWithType: "RestorePolicyProperties.enabled()"
|
|
summary: "Get the enabled property: Blob restore is enabled if set to true."
|
|
syntax: "public boolean enabled()"
|
|
desc: "Get the enabled property: Blob restore is enabled if set to true."
|
|
returns:
|
|
description: "the enabled value."
|
|
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.storage.models.RestorePolicyProperties.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.storage.models.RestorePolicyProperties.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "RestorePolicyProperties.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Restore<wbr>Policy<wbr>Properties from the Json<wbr>Reader."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "The JsonReader being read."
|
|
name: "jsonReader"
|
|
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static RestorePolicyProperties fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If the deserialized JSON object was missing any required properties."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of RestorePolicyProperties from the JsonReader."
|
|
returns:
|
|
description: "An instance of RestorePolicyProperties if the JsonReader was pointing to an instance of it, or null if it\n was pointing to JSON null."
|
|
type: "<xref href=\"com.azure.resourcemanager.storage.models.RestorePolicyProperties?alt=com.azure.resourcemanager.storage.models.RestorePolicyProperties&text=RestorePolicyProperties\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.storage.models.RestorePolicyProperties.lastEnabledTime()"
|
|
fullName: "com.azure.resourcemanager.storage.models.RestorePolicyProperties.lastEnabledTime()"
|
|
name: "lastEnabledTime()"
|
|
nameWithType: "RestorePolicyProperties.lastEnabledTime()"
|
|
summary: "Get the last<wbr>Enabled<wbr>Time property: Deprecated in favor of min<wbr>Restore<wbr>Time property."
|
|
syntax: "public OffsetDateTime lastEnabledTime()"
|
|
desc: "Get the lastEnabledTime property: Deprecated in favor of minRestoreTime property."
|
|
returns:
|
|
description: "the lastEnabledTime value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
|
|
- uid: "com.azure.resourcemanager.storage.models.RestorePolicyProperties.minRestoreTime()"
|
|
fullName: "com.azure.resourcemanager.storage.models.RestorePolicyProperties.minRestoreTime()"
|
|
name: "minRestoreTime()"
|
|
nameWithType: "RestorePolicyProperties.minRestoreTime()"
|
|
summary: "Get the min<wbr>Restore<wbr>Time property: Returns the minimum date and time that the restore can be started."
|
|
syntax: "public OffsetDateTime minRestoreTime()"
|
|
desc: "Get the minRestoreTime property: Returns the minimum date and time that the restore can be started."
|
|
returns:
|
|
description: "the minRestoreTime value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
|
|
- uid: "com.azure.resourcemanager.storage.models.RestorePolicyProperties.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.storage.models.RestorePolicyProperties.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "RestorePolicyProperties.toJson(JsonWriter jsonWriter)"
|
|
parameters:
|
|
- name: "jsonWriter"
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
returns:
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.storage.models.RestorePolicyProperties.validate()"
|
|
fullName: "com.azure.resourcemanager.storage.models.RestorePolicyProperties.validate()"
|
|
name: "validate()"
|
|
nameWithType: "RestorePolicyProperties.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.storage.models.RestorePolicyProperties.withDays(java.lang.Integer)"
|
|
fullName: "com.azure.resourcemanager.storage.models.RestorePolicyProperties.withDays(Integer days)"
|
|
name: "withDays(Integer days)"
|
|
nameWithType: "RestorePolicyProperties.withDays(Integer days)"
|
|
summary: "Set the days property: how long this blob can be restored."
|
|
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 RestorePolicyProperties withDays(Integer days)"
|
|
desc: "Set the days property: how long this blob can be restored. It should be great than zero and less than DeleteRetentionPolicy.days."
|
|
returns:
|
|
description: "the RestorePolicyProperties object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.storage.models.RestorePolicyProperties?alt=com.azure.resourcemanager.storage.models.RestorePolicyProperties&text=RestorePolicyProperties\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.storage.models.RestorePolicyProperties.withEnabled(boolean)"
|
|
fullName: "com.azure.resourcemanager.storage.models.RestorePolicyProperties.withEnabled(boolean enabled)"
|
|
name: "withEnabled(boolean enabled)"
|
|
nameWithType: "RestorePolicyProperties.withEnabled(boolean enabled)"
|
|
summary: "Set the enabled property: Blob restore is enabled if set to true."
|
|
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 RestorePolicyProperties withEnabled(boolean enabled)"
|
|
desc: "Set the enabled property: Blob restore is enabled if set to true."
|
|
returns:
|
|
description: "the RestorePolicyProperties object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.storage.models.RestorePolicyProperties?alt=com.azure.resourcemanager.storage.models.RestorePolicyProperties&text=RestorePolicyProperties\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "The blob service properties for blob restore policy."
|
|
implements:
|
|
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.storage.models.RestorePolicyProperties?alt=com.azure.resourcemanager.storage.models.RestorePolicyProperties&text=RestorePolicyProperties\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.storage.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-storage:2.44.0
|