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