Class LongTermRetentionDatabaseState
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<LongTermRetentionDatabaseState>
-
- com.azure.resourcemanager.sql.models.LongTermRetentionDatabaseState
-
public final class LongTermRetentionDatabaseState extends com.azure.core.util.ExpandableStringEnum<LongTermRetentionDatabaseState>
Defines values for LongTermRetentionDatabaseState.
-
-
Field Summary
Fields Modifier and Type Field Description static LongTermRetentionDatabaseStateALLStatic value All for LongTermRetentionDatabaseState.static LongTermRetentionDatabaseStateDELETEDStatic value Deleted for LongTermRetentionDatabaseState.static LongTermRetentionDatabaseStateLIVEStatic value Live for LongTermRetentionDatabaseState.
-
Constructor Summary
Constructors Constructor Description LongTermRetentionDatabaseState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LongTermRetentionDatabaseStatefromString(String name)Creates or finds a LongTermRetentionDatabaseState from its string representation.static Collection<LongTermRetentionDatabaseState>values()
-
-
-
Field Detail
-
ALL
public static final LongTermRetentionDatabaseState ALL
Static value All for LongTermRetentionDatabaseState.
-
LIVE
public static final LongTermRetentionDatabaseState LIVE
Static value Live for LongTermRetentionDatabaseState.
-
DELETED
public static final LongTermRetentionDatabaseState DELETED
Static value Deleted for LongTermRetentionDatabaseState.
-
-
Method Detail
-
fromString
public static LongTermRetentionDatabaseState fromString(String name)
Creates or finds a LongTermRetentionDatabaseState from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding LongTermRetentionDatabaseState.
-
values
public static Collection<LongTermRetentionDatabaseState> values()
- Returns:
- known LongTermRetentionDatabaseState values.
-
-