Package org.cdk8s
Class HelmProps.Builder
- java.lang.Object
-
- org.cdk8s.HelmProps.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HelmProps
build()
Builds the configured instance.HelmProps.Builder
chart(String chart)
Sets the value ofHelmProps.getChart()
HelmProps.Builder
helmExecutable(String helmExecutable)
Sets the value ofHelmProps.getHelmExecutable()
HelmProps.Builder
helmFlags(List<String> helmFlags)
Sets the value ofHelmProps.getHelmFlags()
HelmProps.Builder
releaseName(String releaseName)
Sets the value ofHelmProps.getReleaseName()
HelmProps.Builder
values(Map<String,? extends Object> values)
Sets the value ofHelmProps.getValues()
-
-
-
Method Detail
-
chart
@Stability(Stable) public HelmProps.Builder chart(String chart)
Sets the value ofHelmProps.getChart()
- Parameters:
chart
- The chart name to use. It can be a chart from a helm repository or a local directory. This parameter is required. This name is passed tohelm template
and has all the relevant semantics.- Returns:
this
-
helmExecutable
@Stability(Stable) public HelmProps.Builder helmExecutable(String helmExecutable)
Sets the value ofHelmProps.getHelmExecutable()
- Parameters:
helmExecutable
- The local helm executable to use in order to create the manifest the chart.- Returns:
this
-
helmFlags
@Stability(Stable) public HelmProps.Builder helmFlags(List<String> helmFlags)
Sets the value ofHelmProps.getHelmFlags()
- Parameters:
helmFlags
- Additional flags to add to the `helm` execution.- Returns:
this
-
releaseName
@Stability(Stable) public HelmProps.Builder releaseName(String releaseName)
Sets the value ofHelmProps.getReleaseName()
- Parameters:
releaseName
- The release name.- Returns:
this
-
values
@Stability(Stable) public HelmProps.Builder values(Map<String,? extends Object> values)
Sets the value ofHelmProps.getValues()
- Parameters:
values
- Values to pass to the chart.- Returns:
this
-
build
@Stability(Stable) public HelmProps build()
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<HelmProps>
- Returns:
- a new instance of
HelmProps
- Throws:
NullPointerException
- if any required attribute was not provided
-
-