Package org.cdk8s.plus24.k8s
Class KubeCsiDriverListProps.Builder
- java.lang.Object
-
- org.cdk8s.plus24.k8s.KubeCsiDriverListProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeCsiDriverListProps>
- Enclosing interface:
- KubeCsiDriverListProps
@Stability(Stable) public static final class KubeCsiDriverListProps.Builder extends Object implements software.amazon.jsii.Builder<KubeCsiDriverListProps>
A builder forKubeCsiDriverListProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeCsiDriverListProps
build()
Builds the configured instance.KubeCsiDriverListProps.Builder
items(List<? extends KubeCsiDriverProps> items)
Sets the value ofKubeCsiDriverListProps.getItems()
KubeCsiDriverListProps.Builder
metadata(ListMeta metadata)
Sets the value ofKubeCsiDriverListProps.getMetadata()
-
-
-
Method Detail
-
items
@Stability(Stable) public KubeCsiDriverListProps.Builder items(List<? extends KubeCsiDriverProps> items)
Sets the value ofKubeCsiDriverListProps.getItems()
- Parameters:
items
- items is the list of CSIDriver. This parameter is required.- Returns:
this
-
metadata
@Stability(Stable) public KubeCsiDriverListProps.Builder metadata(ListMeta metadata)
Sets the value ofKubeCsiDriverListProps.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 KubeCsiDriverListProps build()
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<KubeCsiDriverListProps>
- Returns:
- a new instance of
KubeCsiDriverListProps
- Throws:
NullPointerException
- if any required attribute was not provided
-
-