### YamlMime:JavaType
uid: "com.azure.resourcemanager.cosmos.models.RestoreMode"
fullName: "com.azure.resourcemanager.cosmos.models.RestoreMode"
name: "RestoreMode"
nameWithType: "RestoreMode"
summary: "Describes the mode of the restore."
inheritances:
- ""
- ""
inheritedClassMethods:
- classRef: ""
methodsRef:
- "fromString(java.lang.String,java.lang.Class)?alt=com.azure.core.util.ExpandableStringEnum.fromString&text=fromString\" data-throw-if-not-resolved=\"False\" />"
- "values(java.lang.Class)?alt=com.azure.core.util.ExpandableStringEnum.values&text=values\" data-throw-if-not-resolved=\"False\" />"
- ""
- ""
- ""
- ""
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "finalize"
- "getClass"
- "notify"
- "notifyAll"
- "wait"
- "wait"
- "wait"
syntax: "public final class **RestoreMode** extends <>"
constructors:
- uid: "com.azure.resourcemanager.cosmos.models.RestoreMode.RestoreMode()"
fullName: "com.azure.resourcemanager.cosmos.models.RestoreMode.RestoreMode()"
name: "RestoreMode()"
nameWithType: "RestoreMode.RestoreMode()"
summary: "Creates a new instance of RestoreMode value."
deprecatedTag: "Use the factory method."
syntax: "@Deprecatedpublic RestoreMode()"
desc: "Creates a new instance of RestoreMode value."
hasDeprecatedTag: true
fields:
- uid: "com.azure.resourcemanager.cosmos.models.RestoreMode.POINT_IN_TIME"
fullName: "com.azure.resourcemanager.cosmos.models.RestoreMode.POINT_IN_TIME"
name: "POINT_IN_TIME"
nameWithType: "RestoreMode.POINT_IN_TIME"
summary: "Static value PointInTime for RestoreMode."
modifiers:
- "static"
- "final"
field:
type: ""
syntax: "public static final RestoreMode POINT_IN_TIME"
desc: "Static value PointInTime for RestoreMode."
methods:
- uid: "com.azure.resourcemanager.cosmos.models.RestoreMode.fromString(java.lang.String)"
fullName: "com.azure.resourcemanager.cosmos.models.RestoreMode.fromString(String name)"
name: "fromString(String name)"
nameWithType: "RestoreMode.fromString(String name)"
summary: "Creates or finds a RestoreMode from its string representation."
modifiers:
- "static"
parameters:
- description: "a name to look for."
name: "name"
type: "String"
syntax: "public static RestoreMode fromString(String name)"
desc: "Creates or finds a RestoreMode from its string representation."
returns:
description: "the corresponding RestoreMode."
type: ""
- uid: "com.azure.resourcemanager.cosmos.models.RestoreMode.values()"
fullName: "com.azure.resourcemanager.cosmos.models.RestoreMode.values()"
name: "values()"
nameWithType: "RestoreMode.values()"
summary: "Gets known RestoreMode values."
modifiers:
- "static"
syntax: "public static Collection values()"
desc: "Gets known RestoreMode values."
returns:
description: "known RestoreMode values."
type: "Collection<>"
type: "class"
desc: "Describes the mode of the restore."
metadata: {}
package: "com.azure.resourcemanager.cosmos.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-cosmos:2.44.0