Package org.cdk8s.plus23.k8s
Class KubePersistentVolumeList.Builder
- java.lang.Object
-
- org.cdk8s.plus23.k8s.KubePersistentVolumeList.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubePersistentVolumeList>
- Enclosing class:
- KubePersistentVolumeList
@Stability(Stable) public static final class KubePersistentVolumeList.Builder extends Object implements software.amazon.jsii.Builder<KubePersistentVolumeList>
A fluent builder forKubePersistentVolumeList
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description KubePersistentVolumeList
build()
static KubePersistentVolumeList.Builder
create(software.constructs.Construct scope, String id)
KubePersistentVolumeList.Builder
items(List<? extends KubePersistentVolumeProps> items)
List of persistent volumes.KubePersistentVolumeList.Builder
metadata(ListMeta metadata)
Standard list metadata.
-
-
-
Method Detail
-
create
@Stability(Stable) public static KubePersistentVolumeList.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope
- the scope in which to define this object. This parameter is required.id
- a scope-local name for the object. This parameter is required.- Returns:
- a new instance of
KubePersistentVolumeList.Builder
.
-
items
@Stability(Stable) public KubePersistentVolumeList.Builder items(List<? extends KubePersistentVolumeProps> items)
List of persistent volumes.More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes
- Parameters:
items
- List of persistent volumes. This parameter is required.- Returns:
this
-
metadata
@Stability(Stable) public KubePersistentVolumeList.Builder metadata(ListMeta metadata)
Standard list metadata.More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
- Parameters:
metadata
- Standard list metadata. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public KubePersistentVolumeList build()
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<KubePersistentVolumeList>
-
-