Class StorageType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<StorageType>
com.azure.resourcemanager.recoveryservicesbackup.models.StorageType
Storage type.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final StorageType
Static value GeoRedundant for StorageType.static final StorageType
Static value Invalid for StorageType.static final StorageType
Static value LocallyRedundant for StorageType.static final StorageType
Static value ReadAccessGeoZoneRedundant for StorageType.static final StorageType
Static value ZoneRedundant for StorageType. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic StorageType
fromString
(String name) Creates or finds a StorageType from its string representation.static Collection<StorageType>
values()
Gets known StorageType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
INVALID
Static value Invalid for StorageType. -
GEO_REDUNDANT
Static value GeoRedundant for StorageType. -
LOCALLY_REDUNDANT
Static value LocallyRedundant for StorageType. -
ZONE_REDUNDANT
Static value ZoneRedundant for StorageType. -
READ_ACCESS_GEO_ZONE_REDUNDANT
Static value ReadAccessGeoZoneRedundant for StorageType.
-
-
Constructor Details
-
StorageType
Deprecated.Use thefromString(String)
factory method.Creates a new instance of StorageType value.
-
-
Method Details
-
fromString
Creates or finds a StorageType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding StorageType.
-
values
Gets known StorageType values.- Returns:
- known StorageType values.
-
fromString(String)
factory method.