Interface UpdateTaintsPayload.Builder

    • 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 the Taint.Builder avoiding the need to create one manually via Taint.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #addOrUpdateTaints(List).

        Parameters:
        addOrUpdateTaints - a consumer that will call methods on Taint.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 the Taint.Builder avoiding the need to create one manually via Taint.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #removeTaints(List).

        Parameters:
        removeTaints - a consumer that will call methods on Taint.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #removeTaints(java.util.Collection)