Class PreemptionCapability


  • public final class PreemptionCapability
    extends com.azure.core.util.ExpandableStringEnum<PreemptionCapability>
    Defines values for PreemptionCapability.
    • Field Detail

      • NOT_PREEMPT

        public static final PreemptionCapability NOT_PREEMPT
        Static value NotPreempt for PreemptionCapability.
      • MAY_PREEMPT

        public static final PreemptionCapability MAY_PREEMPT
        Static value MayPreempt for PreemptionCapability.
    • Constructor Detail

      • PreemptionCapability

        public PreemptionCapability()
    • Method Detail

      • fromString

        public static PreemptionCapability fromString​(String name)
        Creates or finds a PreemptionCapability from its string representation.
        Parameters:
        name - a name to look for.
        Returns:
        the corresponding PreemptionCapability.