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