Class RebootType
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<RebootType>
-
- com.azure.resourcemanager.redis.models.RebootType
-
public final class RebootType extends com.azure.core.util.ExpandableStringEnum<RebootType>
Defines values for RebootType.
-
-
Field Summary
Fields Modifier and Type Field Description static RebootTypeALL_NODESStatic value AllNodes for RebootType.static RebootTypePRIMARY_NODEStatic value PrimaryNode for RebootType.static RebootTypeSECONDARY_NODEStatic value SecondaryNode for RebootType.
-
Constructor Summary
Constructors Constructor Description RebootType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RebootTypefromString(String name)Creates or finds a RebootType from its string representation.static Collection<RebootType>values()
-
-
-
Field Detail
-
PRIMARY_NODE
public static final RebootType PRIMARY_NODE
Static value PrimaryNode for RebootType.
-
SECONDARY_NODE
public static final RebootType SECONDARY_NODE
Static value SecondaryNode for RebootType.
-
ALL_NODES
public static final RebootType ALL_NODES
Static value AllNodes for RebootType.
-
-
Method Detail
-
fromString
public static RebootType fromString(String name)
Creates or finds a RebootType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding RebootType.
-
values
public static Collection<RebootType> values()
- Returns:
- known RebootType values.
-
-