Package org.cdk8s.plus25.k8s
Class KubePersistentVolumeClaimListProps.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.KubePersistentVolumeClaimListProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubePersistentVolumeClaimListProps>
- Enclosing interface:
- KubePersistentVolumeClaimListProps
@Stability(Stable) public static final class KubePersistentVolumeClaimListProps.Builder extends Object implements software.amazon.jsii.Builder<KubePersistentVolumeClaimListProps>
A builder forKubePersistentVolumeClaimListProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KubePersistentVolumeClaimListPropsbuild()Builds the configured instance.KubePersistentVolumeClaimListProps.Builderitems(List<? extends KubePersistentVolumeClaimProps> items)Sets the value ofKubePersistentVolumeClaimListProps.getItems()KubePersistentVolumeClaimListProps.Buildermetadata(ListMeta metadata)Sets the value ofKubePersistentVolumeClaimListProps.getMetadata()
-
-
-
Method Detail
-
items
@Stability(Stable) public KubePersistentVolumeClaimListProps.Builder items(List<? extends KubePersistentVolumeClaimProps> items)
Sets the value ofKubePersistentVolumeClaimListProps.getItems()- Parameters:
items- items is a list of persistent volume claims. This parameter is required. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims- Returns:
this
-
metadata
@Stability(Stable) public KubePersistentVolumeClaimListProps.Builder metadata(ListMeta metadata)
Sets the value ofKubePersistentVolumeClaimListProps.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 KubePersistentVolumeClaimListProps build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KubePersistentVolumeClaimListProps>- Returns:
- a new instance of
KubePersistentVolumeClaimListProps - Throws:
NullPointerException- if any required attribute was not provided
-
-