Class KubeNodeList.Builder

  • All Implemented Interfaces:
    software.amazon.jsii.Builder<KubeNodeList>
    Enclosing class:
    KubeNodeList

    @Stability(Stable)
    public static final class KubeNodeList.Builder
    extends Object
    implements software.amazon.jsii.Builder<KubeNodeList>
    A fluent builder for KubeNodeList.
    • Method Detail

      • create

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

        @Stability(Stable)
        public KubeNodeList.Builder items​(List<? extends KubeNodeProps> items)
        List of nodes.

        Parameters:
        items - List of nodes. This parameter is required.
        Returns:
        this
      • metadata

        @Stability(Stable)
        public KubeNodeList.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
      • build

        @Stability(Stable)
        public KubeNodeList build()
        Specified by:
        build in interface software.amazon.jsii.Builder<KubeNodeList>
        Returns:
        a newly built instance of KubeNodeList.