Class KubeNamespaceList.Builder

    • Method Detail

      • create

        @Stability(Stable)
        public static KubeNamespaceList.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 KubeNamespaceList.Builder.
      • items

        @Stability(Stable)
        public KubeNamespaceList.Builder items​(List<? extends KubeNamespaceProps> items)
        Items is the list of Namespace objects in the list.

        More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/

        Parameters:
        items - Items is the list of Namespace objects in the list. This parameter is required.
        Returns:
        this
      • metadata

        @Stability(Stable)
        public KubeNamespaceList.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