Interface UpdateTaintsPayload.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UpdateTaintsPayload.Builder,UpdateTaintsPayload>,SdkBuilder<UpdateTaintsPayload.Builder,UpdateTaintsPayload>,SdkPojo
- Enclosing class:
- UpdateTaintsPayload
public static interface UpdateTaintsPayload.Builder extends SdkPojo, CopyableBuilder<UpdateTaintsPayload.Builder,UpdateTaintsPayload>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateTaintsPayload.BuilderaddOrUpdateTaints(Collection<Taint> addOrUpdateTaints)Kubernetes taints to be added or updated.UpdateTaintsPayload.BuilderaddOrUpdateTaints(Consumer<Taint.Builder>... addOrUpdateTaints)Kubernetes taints to be added or updated.UpdateTaintsPayload.BuilderaddOrUpdateTaints(Taint... addOrUpdateTaints)Kubernetes taints to be added or updated.UpdateTaintsPayload.BuilderremoveTaints(Collection<Taint> removeTaints)Kubernetes taints to remove.UpdateTaintsPayload.BuilderremoveTaints(Consumer<Taint.Builder>... removeTaints)Kubernetes taints to remove.UpdateTaintsPayload.BuilderremoveTaints(Taint... removeTaints)Kubernetes taints to remove.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
addOrUpdateTaints
UpdateTaintsPayload.Builder addOrUpdateTaints(Collection<Taint> addOrUpdateTaints)
Kubernetes taints to be added or updated.
- Parameters:
addOrUpdateTaints- Kubernetes taints to be added or updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addOrUpdateTaints
UpdateTaintsPayload.Builder addOrUpdateTaints(Taint... addOrUpdateTaints)
Kubernetes taints to be added or updated.
- Parameters:
addOrUpdateTaints- Kubernetes taints to be added or updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addOrUpdateTaints
UpdateTaintsPayload.Builder addOrUpdateTaints(Consumer<Taint.Builder>... addOrUpdateTaints)
Kubernetes taints to be added or updated.
This is a convenience method that creates an instance of theTaint.Builderavoiding the need to create one manually viaTaint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#addOrUpdateTaints(List.) - Parameters:
addOrUpdateTaints- a consumer that will call methods onTaint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#addOrUpdateTaints(java.util.Collection)
-
removeTaints
UpdateTaintsPayload.Builder removeTaints(Collection<Taint> removeTaints)
Kubernetes taints to remove.
- Parameters:
removeTaints- Kubernetes taints to remove.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeTaints
UpdateTaintsPayload.Builder removeTaints(Taint... removeTaints)
Kubernetes taints to remove.
- Parameters:
removeTaints- Kubernetes taints to remove.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeTaints
UpdateTaintsPayload.Builder removeTaints(Consumer<Taint.Builder>... removeTaints)
Kubernetes taints to remove.
This is a convenience method that creates an instance of theTaint.Builderavoiding the need to create one manually viaTaint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#removeTaints(List.) - Parameters:
removeTaints- a consumer that will call methods onTaint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#removeTaints(java.util.Collection)
-
-