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