Package org.cdk8s.plus24.k8s
Class KubePodList.Builder
- java.lang.Object
-
- org.cdk8s.plus24.k8s.KubePodList.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubePodList>
- Enclosing class:
- KubePodList
@Stability(Stable) public static final class KubePodList.Builder extends Object implements software.amazon.jsii.Builder<KubePodList>
A fluent builder forKubePodList
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description KubePodList
build()
static KubePodList.Builder
create(software.constructs.Construct scope, String id)
KubePodList.Builder
items(List<? extends KubePodProps> items)
List of pods.KubePodList.Builder
metadata(ListMeta metadata)
Standard list metadata.
-
-
-
Method Detail
-
create
@Stability(Stable) public static KubePodList.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
KubePodList.Builder
.
-
items
@Stability(Stable) public KubePodList.Builder items(List<? extends KubePodProps> items)
List of pods.More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
- Parameters:
items
- List of pods. This parameter is required.- Returns:
this
-
metadata
@Stability(Stable) public KubePodList.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 KubePodList build()
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<KubePodList>
-
-