Class PreemptionCapability
java.lang.Object
com.azure.core.util.ExpandableStringEnum<PreemptionCapability>
com.azure.resourcemanager.mobilenetwork.models.PreemptionCapability
public final class PreemptionCapability
extends com.azure.core.util.ExpandableStringEnum<PreemptionCapability>
Defines values for PreemptionCapability.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PreemptionCapability
Static value MayPreempt for PreemptionCapability.static final PreemptionCapability
Static value NotPreempt for PreemptionCapability. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PreemptionCapability
fromString
(String name) Creates or finds a PreemptionCapability from its string representation.static Collection<PreemptionCapability>
values()
Gets known PreemptionCapability values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
NOT_PREEMPT
Static value NotPreempt for PreemptionCapability. -
MAY_PREEMPT
Static value MayPreempt for PreemptionCapability.
-
-
Constructor Details
-
PreemptionCapability
public PreemptionCapability()
-
-
Method Details
-
fromString
Creates or finds a PreemptionCapability from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding PreemptionCapability.
-
values
Gets known PreemptionCapability values.- Returns:
- known PreemptionCapability values.
-