Class KubectlProvider.Builder

java.lang.Object
software.amazon.awscdk.services.eks.KubectlProvider.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<KubectlProvider>
Enclosing class:
KubectlProvider

@Stability(Stable) public static final class KubectlProvider.Builder extends Object implements software.amazon.jsii.Builder<KubectlProvider>
A fluent builder for KubectlProvider.
  • Method Details

    • create

      @Stability(Stable) public static KubectlProvider.Builder create(software.constructs.Construct scope, String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      Returns:
      a new instance of KubectlProvider.Builder.
    • cluster

      @Stability(Stable) public KubectlProvider.Builder cluster(ICluster cluster)
      The cluster to control.

      Parameters:
      cluster - The cluster to control. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public KubectlProvider build()
      Specified by:
      build in interface software.amazon.jsii.Builder<KubectlProvider>
      Returns:
      a newly built instance of KubectlProvider.