Package org.cdk8s.plus24
Class PodsAllOptions.Builder
- java.lang.Object
-
- org.cdk8s.plus24.PodsAllOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<PodsAllOptions>
- Enclosing interface:
- PodsAllOptions
@Stability(Stable) public static final class PodsAllOptions.Builder extends Object implements software.amazon.jsii.Builder<PodsAllOptions>
A builder forPodsAllOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PodsAllOptions
build()
Builds the configured instance.PodsAllOptions.Builder
namespaces(Namespaces namespaces)
Sets the value ofPodsAllOptions.getNamespaces()
-
-
-
Method Detail
-
namespaces
@Stability(Stable) public PodsAllOptions.Builder namespaces(Namespaces namespaces)
Sets the value ofPodsAllOptions.getNamespaces()
- Parameters:
namespaces
- Namespaces the pods are allowed to be in. UseNamespaces.all()
to allow all namespaces.- Returns:
this
-
build
@Stability(Stable) public PodsAllOptions build()
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<PodsAllOptions>
- Returns:
- a new instance of
PodsAllOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-
-