Package org.cdk8s.plus25.k8s
Class DownwardApiProjection.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.DownwardApiProjection.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DownwardApiProjection>
- Enclosing interface:
- DownwardApiProjection
@Stability(Stable) public static final class DownwardApiProjection.Builder extends Object implements software.amazon.jsii.Builder<DownwardApiProjection>
A builder forDownwardApiProjection
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DownwardApiProjectionbuild()Builds the configured instance.DownwardApiProjection.Builderitems(List<? extends DownwardApiVolumeFile> items)Sets the value ofDownwardApiProjection.getItems()
-
-
-
Method Detail
-
items
@Stability(Stable) public DownwardApiProjection.Builder items(List<? extends DownwardApiVolumeFile> items)
Sets the value ofDownwardApiProjection.getItems()- Parameters:
items- Items is a list of DownwardAPIVolume file.- Returns:
this
-
build
@Stability(Stable) public DownwardApiProjection build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DownwardApiProjection>- Returns:
- a new instance of
DownwardApiProjection - Throws:
NullPointerException- if any required attribute was not provided
-
-