@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:46.765Z") @Stability(value=Stable) public enum TaintEffect extends Enum<TaintEffect>
Example:
Cluster cluster;
cluster.addNodegroupCapacity("custom-node-group", NodegroupOptions.builder()
.instanceTypes(List.of(new InstanceType("m5.large")))
.taints(List.of(TaintSpec.builder()
.effect(TaintEffect.NO_SCHEDULE)
.key("foo")
.value("bar")
.build()))
.build());
| Enum Constant and Description |
|---|
NO_EXECUTE
NoExecute.
|
NO_SCHEDULE
NoSchedule.
|
PREFER_NO_SCHEDULE
PreferNoSchedule.
|
| Modifier and Type | Method and Description |
|---|---|
static TaintEffect |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaintEffect[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final TaintEffect NO_SCHEDULE
@Stability(value=Stable) public static final TaintEffect PREFER_NO_SCHEDULE
@Stability(value=Stable) public static final TaintEffect NO_EXECUTE
public static TaintEffect[] values()
for (TaintEffect c : TaintEffect.values()) System.out.println(c);
public static TaintEffect 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 nullCopyright © 2022. All rights reserved.