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