public static enum V1Toleration.EffectEnum extends Enum<V1Toleration.EffectEnum>
Modifier and Type | Class and Description |
---|---|
static class |
V1Toleration.EffectEnum.Adapter |
Enum Constant and Description |
---|
NOEXECUTE |
NOSCHEDULE |
PREFERNOSCHEDULE |
Modifier and Type | Method and Description |
---|---|
static V1Toleration.EffectEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static V1Toleration.EffectEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static V1Toleration.EffectEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final V1Toleration.EffectEnum NOEXECUTE
public static final V1Toleration.EffectEnum NOSCHEDULE
public static final V1Toleration.EffectEnum PREFERNOSCHEDULE
public static V1Toleration.EffectEnum[] values()
for (V1Toleration.EffectEnum c : V1Toleration.EffectEnum.values()) System.out.println(c);
public static V1Toleration.EffectEnum 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<V1Toleration.EffectEnum>
public static V1Toleration.EffectEnum fromValue(String value)
Copyright © 2022. All rights reserved.