Interface EksSource.Builder

  • Method Details

    • clusterArn

      EksSource.Builder clusterArn(String clusterArn)
      Sets the value of the ClusterArn property for this object.
      Parameters:
      clusterArn - The new value for the ClusterArn property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaces

      EksSource.Builder namespaces(Collection<String> namespaces)

      The list of Kubernetes namespaces within the EKS cluster.

      Parameters:
      namespaces - The list of Kubernetes namespaces within the EKS cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaces

      EksSource.Builder namespaces(String... namespaces)

      The list of Kubernetes namespaces within the EKS cluster.

      Parameters:
      namespaces - The list of Kubernetes namespaces within the EKS cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • labelSelector

      EksSource.Builder labelSelector(EksLabelSelector labelSelector)

      Filters discovery to the Kubernetes objects whose labels match the selector. When omitted, all supported objects in the specified namespaces are discovered.

      Parameters:
      labelSelector - Filters discovery to the Kubernetes objects whose labels match the selector. When omitted, all supported objects in the specified namespaces are discovered.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • labelSelector

      default EksSource.Builder labelSelector(Consumer<EksLabelSelector.Builder> labelSelector)

      Filters discovery to the Kubernetes objects whose labels match the selector. When omitted, all supported objects in the specified namespaces are discovered.

      This is a convenience method that creates an instance of the EksLabelSelector.Builder avoiding the need to create one manually via EksLabelSelector.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to labelSelector(EksLabelSelector).

      Parameters:
      labelSelector - a consumer that will call methods on EksLabelSelector.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: