Package org.cdk8s.plus25.k8s
Class KubeConfigMapListProps.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.KubeConfigMapListProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeConfigMapListProps>
- Enclosing interface:
- KubeConfigMapListProps
@Stability(Stable) public static final class KubeConfigMapListProps.Builder extends Object implements software.amazon.jsii.Builder<KubeConfigMapListProps>
A builder forKubeConfigMapListProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeConfigMapListPropsbuild()Builds the configured instance.KubeConfigMapListProps.Builderitems(List<? extends KubeConfigMapProps> items)Sets the value ofKubeConfigMapListProps.getItems()KubeConfigMapListProps.Buildermetadata(ListMeta metadata)Sets the value ofKubeConfigMapListProps.getMetadata()
-
-
-
Method Detail
-
items
@Stability(Stable) public KubeConfigMapListProps.Builder items(List<? extends KubeConfigMapProps> items)
Sets the value ofKubeConfigMapListProps.getItems()- Parameters:
items- Items is the list of ConfigMaps. This parameter is required.- Returns:
this
-
metadata
@Stability(Stable) public KubeConfigMapListProps.Builder metadata(ListMeta metadata)
Sets the value ofKubeConfigMapListProps.getMetadata()- Parameters:
metadata- More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.- Returns:
this
-
build
@Stability(Stable) public KubeConfigMapListProps build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KubeConfigMapListProps>- Returns:
- a new instance of
KubeConfigMapListProps - Throws:
NullPointerException- if any required attribute was not provided
-
-