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