Package org.cdk8s.plus25.k8s
Class KubeNamespaceListProps.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.KubeNamespaceListProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeNamespaceListProps>
- Enclosing interface:
- KubeNamespaceListProps
@Stability(Stable) public static final class KubeNamespaceListProps.Builder extends Object implements software.amazon.jsii.Builder<KubeNamespaceListProps>
A builder forKubeNamespaceListProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeNamespaceListPropsbuild()Builds the configured instance.KubeNamespaceListProps.Builderitems(List<? extends KubeNamespaceProps> items)Sets the value ofKubeNamespaceListProps.getItems()KubeNamespaceListProps.Buildermetadata(ListMeta metadata)Sets the value ofKubeNamespaceListProps.getMetadata()
-
-
-
Method Detail
-
items
@Stability(Stable) public KubeNamespaceListProps.Builder items(List<? extends KubeNamespaceProps> items)
Sets the value ofKubeNamespaceListProps.getItems()- Parameters:
items- Items is the list of Namespace objects in the list. This parameter is required. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/- Returns:
this
-
metadata
@Stability(Stable) public KubeNamespaceListProps.Builder metadata(ListMeta metadata)
Sets the value ofKubeNamespaceListProps.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 KubeNamespaceListProps build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KubeNamespaceListProps>- Returns:
- a new instance of
KubeNamespaceListProps - Throws:
NullPointerException- if any required attribute was not provided
-
-