public static enum V1TopologySpreadConstraint.WhenUnsatisfiableEnum extends Enum<V1TopologySpreadConstraint.WhenUnsatisfiableEnum>
Modifier and Type | Class and Description |
---|---|
static class |
V1TopologySpreadConstraint.WhenUnsatisfiableEnum.Adapter |
Enum Constant and Description |
---|
DONOTSCHEDULE |
SCHEDULEANYWAY |
Modifier and Type | Method and Description |
---|---|
static V1TopologySpreadConstraint.WhenUnsatisfiableEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static V1TopologySpreadConstraint.WhenUnsatisfiableEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static V1TopologySpreadConstraint.WhenUnsatisfiableEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final V1TopologySpreadConstraint.WhenUnsatisfiableEnum DONOTSCHEDULE
public static final V1TopologySpreadConstraint.WhenUnsatisfiableEnum SCHEDULEANYWAY
public static V1TopologySpreadConstraint.WhenUnsatisfiableEnum[] values()
for (V1TopologySpreadConstraint.WhenUnsatisfiableEnum c : V1TopologySpreadConstraint.WhenUnsatisfiableEnum.values()) System.out.println(c);
public static V1TopologySpreadConstraint.WhenUnsatisfiableEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
public String toString()
toString
in class Enum<V1TopologySpreadConstraint.WhenUnsatisfiableEnum>
public static V1TopologySpreadConstraint.WhenUnsatisfiableEnum fromValue(String value)
Copyright © 2022. All rights reserved.