@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateTaintsPayload extends Object implements Serializable, Cloneable, StructuredPojo
An object representing the details of an update to a taints payload. For more information, see Node taints on managed node groups in the Amazon EKS User Guide.
| Constructor and Description |
|---|
UpdateTaintsPayload() |
| Modifier and Type | Method and Description |
|---|---|
UpdateTaintsPayload |
clone() |
boolean |
equals(Object obj) |
List<Taint> |
getAddOrUpdateTaints()
Kubernetes taints to be added or updated.
|
List<Taint> |
getRemoveTaints()
Kubernetes taints to remove.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAddOrUpdateTaints(Collection<Taint> addOrUpdateTaints)
Kubernetes taints to be added or updated.
|
void |
setRemoveTaints(Collection<Taint> removeTaints)
Kubernetes taints to remove.
|
String |
toString()
Returns a string representation of this object.
|
UpdateTaintsPayload |
withAddOrUpdateTaints(Collection<Taint> addOrUpdateTaints)
Kubernetes taints to be added or updated.
|
UpdateTaintsPayload |
withAddOrUpdateTaints(Taint... addOrUpdateTaints)
Kubernetes taints to be added or updated.
|
UpdateTaintsPayload |
withRemoveTaints(Collection<Taint> removeTaints)
Kubernetes taints to remove.
|
UpdateTaintsPayload |
withRemoveTaints(Taint... removeTaints)
Kubernetes taints to remove.
|
public List<Taint> getAddOrUpdateTaints()
Kubernetes taints to be added or updated.
public void setAddOrUpdateTaints(Collection<Taint> addOrUpdateTaints)
Kubernetes taints to be added or updated.
addOrUpdateTaints - Kubernetes taints to be added or updated.public UpdateTaintsPayload withAddOrUpdateTaints(Taint... addOrUpdateTaints)
Kubernetes taints to be added or updated.
NOTE: This method appends the values to the existing list (if any). Use
setAddOrUpdateTaints(java.util.Collection) or withAddOrUpdateTaints(java.util.Collection) if
you want to override the existing values.
addOrUpdateTaints - Kubernetes taints to be added or updated.public UpdateTaintsPayload withAddOrUpdateTaints(Collection<Taint> addOrUpdateTaints)
Kubernetes taints to be added or updated.
addOrUpdateTaints - Kubernetes taints to be added or updated.public List<Taint> getRemoveTaints()
Kubernetes taints to remove.
public void setRemoveTaints(Collection<Taint> removeTaints)
Kubernetes taints to remove.
removeTaints - Kubernetes taints to remove.public UpdateTaintsPayload withRemoveTaints(Taint... removeTaints)
Kubernetes taints to remove.
NOTE: This method appends the values to the existing list (if any). Use
setRemoveTaints(java.util.Collection) or withRemoveTaints(java.util.Collection) if you want to
override the existing values.
removeTaints - Kubernetes taints to remove.public UpdateTaintsPayload withRemoveTaints(Collection<Taint> removeTaints)
Kubernetes taints to remove.
removeTaints - Kubernetes taints to remove.public String toString()
toString in class ObjectObject.toString()public UpdateTaintsPayload clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.