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