Class SoftDeleteState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SoftDeleteState>
com.azure.resourcemanager.dataprotection.models.SoftDeleteState
public final class SoftDeleteState
extends com.azure.core.util.ExpandableStringEnum<SoftDeleteState>
State of soft delete.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SoftDeleteState
Static value AlwaysOn for SoftDeleteState.static final SoftDeleteState
Static value Off for SoftDeleteState.static final SoftDeleteState
Static value On for SoftDeleteState. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SoftDeleteState
fromString
(String name) Creates or finds a SoftDeleteState from its string representation.static Collection<SoftDeleteState>
values()
Gets known SoftDeleteState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
OFF
Static value Off for SoftDeleteState. -
ON
Static value On for SoftDeleteState. -
ALWAYS_ON
Static value AlwaysOn for SoftDeleteState.
-
-
Constructor Details
-
SoftDeleteState
Deprecated.Use thefromString(String)
factory method.Creates a new instance of SoftDeleteState value.
-
-
Method Details
-
fromString
Creates or finds a SoftDeleteState from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding SoftDeleteState.
-
values
Gets known SoftDeleteState values.- Returns:
- known SoftDeleteState values.
-
fromString(String)
factory method.