Package io.github.cdklabs.projen.gitlab
Class KubernetesConfig.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.gitlab.KubernetesConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubernetesConfig>
- Enclosing interface:
- KubernetesConfig
@Stability(Experimental) public static final class KubernetesConfig.Builder extends Object implements software.amazon.jsii.Builder<KubernetesConfig>
A builder forKubernetesConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KubernetesConfigbuild()Builds the configured instance.KubernetesConfig.Buildernamespace(String namespace)Sets the value ofKubernetesConfig.getNamespace()
-
-
-
Method Detail
-
namespace
@Stability(Experimental) public KubernetesConfig.Builder namespace(String namespace)
Sets the value ofKubernetesConfig.getNamespace()- Parameters:
namespace- The kubernetes namespace where this environment should be deployed to.- Returns:
this
-
build
@Stability(Experimental) public KubernetesConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KubernetesConfig>- Returns:
- a new instance of
KubernetesConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-