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