@Generated(value="software.amazon.awssdk:codegen") public final class Taint extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Taint.Builder,Taint>
A property that allows a node to repel a set of pods. For more information, see Node taints on managed node groups.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Taint.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Taint.Builder |
builder() |
TaintEffect |
effect()
The effect of the taint.
|
String |
effectAsString()
The effect of the taint.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
The key of the taint.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Taint.Builder> |
serializableBuilderClass() |
Taint.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
The value of the taint.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String key()
The key of the taint.
public final String value()
The value of the taint.
public final TaintEffect effect()
The effect of the taint.
If the service returns an enum value that is not available in the current SDK version, effect will
return TaintEffect.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
effectAsString().
TaintEffectpublic final String effectAsString()
The effect of the taint.
If the service returns an enum value that is not available in the current SDK version, effect will
return TaintEffect.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
effectAsString().
TaintEffectpublic Taint.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Taint.Builder,Taint>public static Taint.Builder builder()
public static Class<? extends Taint.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.