Package org.cdk8s.plus25.k8s
Class KubeNodeListProps.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.KubeNodeListProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeNodeListProps>
- Enclosing interface:
- KubeNodeListProps
@Stability(Stable) public static final class KubeNodeListProps.Builder extends Object implements software.amazon.jsii.Builder<KubeNodeListProps>
A builder forKubeNodeListProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeNodeListPropsbuild()Builds the configured instance.KubeNodeListProps.Builderitems(List<? extends KubeNodeProps> items)Sets the value ofKubeNodeListProps.getItems()KubeNodeListProps.Buildermetadata(ListMeta metadata)Sets the value ofKubeNodeListProps.getMetadata()
-
-
-
Method Detail
-
items
@Stability(Stable) public KubeNodeListProps.Builder items(List<? extends KubeNodeProps> items)
Sets the value ofKubeNodeListProps.getItems()- Parameters:
items- List of nodes. This parameter is required.- Returns:
this
-
metadata
@Stability(Stable) public KubeNodeListProps.Builder metadata(ListMeta metadata)
Sets the value ofKubeNodeListProps.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 KubeNodeListProps build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KubeNodeListProps>- Returns:
- a new instance of
KubeNodeListProps - Throws:
NullPointerException- if any required attribute was not provided
-
-