Class HelmChartProps.Builder
java.lang.Object
software.amazon.awscdk.services.eks.HelmChartProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HelmChartProps>
- Enclosing interface:
- HelmChartProps
@Stability(Stable)
public static final class HelmChartProps.Builder
extends Object
implements software.amazon.jsii.Builder<HelmChartProps>
A builder for
HelmChartProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofHelmChartOptions.getChart()chartAsset(Asset chartAsset) Sets the value ofHelmChartOptions.getChartAsset()Sets the value ofHelmChartProps.getCluster()createNamespace(Boolean createNamespace) Sets the value ofHelmChartOptions.getCreateNamespace()Sets the value ofHelmChartOptions.getNamespace()Sets the value ofHelmChartOptions.getRelease()repository(String repository) Sets the value ofHelmChartOptions.getRepository()Sets the value ofHelmChartOptions.getTimeout()Sets the value ofHelmChartOptions.getValues()Sets the value ofHelmChartOptions.getVersion()Sets the value ofHelmChartOptions.getWait()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cluster
Sets the value ofHelmChartProps.getCluster()- Parameters:
cluster- The EKS cluster to apply this configuration to. This parameter is required. [disable-awslint:ref-via-interface]- Returns:
this
-
chart
Sets the value ofHelmChartOptions.getChart()- Parameters:
chart- The name of the chart. Either this orchartAssetmust be specified.- Returns:
this
-
chartAsset
Sets the value ofHelmChartOptions.getChartAsset()- Parameters:
chartAsset- The chart in the form of an asset. Either this orchartmust be specified.- Returns:
this
-
createNamespace
Sets the value ofHelmChartOptions.getCreateNamespace()- Parameters:
createNamespace- create namespace if not exist.- Returns:
this
-
namespace
Sets the value ofHelmChartOptions.getNamespace()- Parameters:
namespace- The Kubernetes namespace scope of the requests.- Returns:
this
-
release
Sets the value ofHelmChartOptions.getRelease()- Parameters:
release- The name of the release.- Returns:
this
-
repository
Sets the value ofHelmChartOptions.getRepository()- Parameters:
repository- The repository which contains the chart. For example: https://kubernetes-charts.storage.googleapis.com/- Returns:
this
-
timeout
Sets the value ofHelmChartOptions.getTimeout()- Parameters:
timeout- Amount of time to wait for any individual Kubernetes operation. Maximum 15 minutes.- Returns:
this
-
values
Sets the value ofHelmChartOptions.getValues()- Parameters:
values- The values to be used by the chart.- Returns:
this
-
version
Sets the value ofHelmChartOptions.getVersion()- Parameters:
version- The chart version to install.- Returns:
this
-
wait
Sets the value ofHelmChartOptions.getWait()- Parameters:
wait- Whether or not Helm should wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment, StatefulSet, or ReplicaSet are in a ready state before marking the release as successful.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<HelmChartProps>- Returns:
- a new instance of
HelmChartProps - Throws:
NullPointerException- if any required attribute was not provided
-