Package org.cdk8s.plus24.k8s
Class NamespaceSpec.Builder
- java.lang.Object
-
- org.cdk8s.plus24.k8s.NamespaceSpec.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NamespaceSpec>
- Enclosing interface:
- NamespaceSpec
@Stability(Stable) public static final class NamespaceSpec.Builder extends Object implements software.amazon.jsii.Builder<NamespaceSpec>
A builder forNamespaceSpec
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NamespaceSpec
build()
Builds the configured instance.NamespaceSpec.Builder
finalizers(List<String> finalizers)
Sets the value ofNamespaceSpec.getFinalizers()
-
-
-
Method Detail
-
finalizers
@Stability(Stable) public NamespaceSpec.Builder finalizers(List<String> finalizers)
Sets the value ofNamespaceSpec.getFinalizers()
- Parameters:
finalizers
- Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/- Returns:
this
-
build
@Stability(Stable) public NamespaceSpec build()
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<NamespaceSpec>
- Returns:
- a new instance of
NamespaceSpec
- Throws:
NullPointerException
- if any required attribute was not provided
-
-