@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Taint extends Object implements Serializable, Cloneable, StructuredPojo
 A property that allows a node to repel a Pod. For more information, see Node taints on managed
 node groups in the Amazon EKS User Guide.
 
| Constructor and Description | 
|---|
Taint()  | 
| Modifier and Type | Method and Description | 
|---|---|
Taint | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getEffect()
 The effect of the taint. 
 | 
String | 
getKey()
 The key of the taint. 
 | 
String | 
getValue()
 The value of the taint. 
 | 
int | 
hashCode()  | 
void | 
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given  
ProtocolMarshaller. | 
void | 
setEffect(String effect)
 The effect of the taint. 
 | 
void | 
setKey(String key)
 The key of the taint. 
 | 
void | 
setValue(String value)
 The value of the taint. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
Taint | 
withEffect(String effect)
 The effect of the taint. 
 | 
Taint | 
withEffect(TaintEffect effect)
 The effect of the taint. 
 | 
Taint | 
withKey(String key)
 The key of the taint. 
 | 
Taint | 
withValue(String value)
 The value of the taint. 
 | 
public void setKey(String key)
The key of the taint.
key - The key of the taint.public String getKey()
The key of the taint.
public Taint withKey(String key)
The key of the taint.
key - The key of the taint.public void setValue(String value)
The value of the taint.
value - The value of the taint.public String getValue()
The value of the taint.
public Taint withValue(String value)
The value of the taint.
value - The value of the taint.public void setEffect(String effect)
The effect of the taint.
effect - The effect of the taint.TaintEffectpublic String getEffect()
The effect of the taint.
TaintEffectpublic Taint withEffect(String effect)
The effect of the taint.
effect - The effect of the taint.TaintEffectpublic Taint withEffect(TaintEffect effect)
The effect of the taint.
effect - The effect of the taint.TaintEffectpublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.