Class KubePersistentVolumeList.Builder

    • 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