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