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