Package org.cdk8s.plus25.k8s
Class KubeCustomResourceDefinitionListProps.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.KubeCustomResourceDefinitionListProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeCustomResourceDefinitionListProps>
- Enclosing interface:
- KubeCustomResourceDefinitionListProps
@Stability(Stable) public static final class KubeCustomResourceDefinitionListProps.Builder extends Object implements software.amazon.jsii.Builder<KubeCustomResourceDefinitionListProps>
A builder forKubeCustomResourceDefinitionListProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeCustomResourceDefinitionListPropsbuild()Builds the configured instance.KubeCustomResourceDefinitionListProps.Builderitems(List<? extends KubeCustomResourceDefinitionProps> items)Sets the value ofKubeCustomResourceDefinitionListProps.getItems()KubeCustomResourceDefinitionListProps.Buildermetadata(ListMeta metadata)Sets the value ofKubeCustomResourceDefinitionListProps.getMetadata()
-
-
-
Method Detail
-
items
@Stability(Stable) public KubeCustomResourceDefinitionListProps.Builder items(List<? extends KubeCustomResourceDefinitionProps> items)
Sets the value ofKubeCustomResourceDefinitionListProps.getItems()- Parameters:
items- items list individual CustomResourceDefinition objects. This parameter is required.- Returns:
this
-
metadata
@Stability(Stable) public KubeCustomResourceDefinitionListProps.Builder metadata(ListMeta metadata)
Sets the value ofKubeCustomResourceDefinitionListProps.getMetadata()- Parameters:
metadata- Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.- Returns:
this
-
build
@Stability(Stable) public KubeCustomResourceDefinitionListProps build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KubeCustomResourceDefinitionListProps>- Returns:
- a new instance of
KubeCustomResourceDefinitionListProps - Throws:
NullPointerException- if any required attribute was not provided
-
-