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