Package org.cdk8s.plus25.k8s
Class KubePodListProps.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.KubePodListProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubePodListProps>
- Enclosing interface:
- KubePodListProps
@Stability(Stable) public static final class KubePodListProps.Builder extends Object implements software.amazon.jsii.Builder<KubePodListProps>
A builder forKubePodListProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KubePodListPropsbuild()Builds the configured instance.KubePodListProps.Builderitems(List<? extends KubePodProps> items)Sets the value ofKubePodListProps.getItems()KubePodListProps.Buildermetadata(ListMeta metadata)Sets the value ofKubePodListProps.getMetadata()
-
-
-
Method Detail
-
items
@Stability(Stable) public KubePodListProps.Builder items(List<? extends KubePodProps> items)
Sets the value ofKubePodListProps.getItems()- Parameters:
items- List of pods. This parameter is required. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md- Returns:
this
-
metadata
@Stability(Stable) public KubePodListProps.Builder metadata(ListMeta metadata)
Sets the value ofKubePodListProps.getMetadata()- Parameters:
metadata- Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds- Returns:
this
-
build
@Stability(Stable) public KubePodListProps build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KubePodListProps>- Returns:
- a new instance of
KubePodListProps - Throws:
NullPointerException- if any required attribute was not provided
-
-