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