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