Package org.cdk8s.plus25.k8s
Class KubeNamespaceList.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.KubeNamespaceList.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeNamespaceList>
- Enclosing class:
- KubeNamespaceList
@Stability(Stable) public static final class KubeNamespaceList.Builder extends Object implements software.amazon.jsii.Builder<KubeNamespaceList>
A fluent builder forKubeNamespaceList.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeNamespaceListbuild()static KubeNamespaceList.Buildercreate(software.constructs.Construct scope, String id)KubeNamespaceList.Builderitems(List<? extends KubeNamespaceProps> items)Items is the list of Namespace objects in the list.KubeNamespaceList.Buildermetadata(ListMeta metadata)Standard list metadata.
-
-
-
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
-
build
@Stability(Stable) public KubeNamespaceList build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KubeNamespaceList>- Returns:
- a newly built instance of
KubeNamespaceList.
-
-