Package org.cdk8s.plus24
Class NamespaceProps.Builder
- java.lang.Object
-
- org.cdk8s.plus24.NamespaceProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NamespaceProps>
- Enclosing interface:
- NamespaceProps
@Stability(Stable) public static final class NamespaceProps.Builder extends Object implements software.amazon.jsii.Builder<NamespaceProps>
A builder forNamespaceProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NamespaceProps
build()
Builds the configured instance.NamespaceProps.Builder
metadata(org.cdk8s.ApiObjectMetadata metadata)
Sets the value ofResourceProps.getMetadata()
-
-
-
Method Detail
-
metadata
@Stability(Stable) public NamespaceProps.Builder metadata(org.cdk8s.ApiObjectMetadata metadata)
Sets the value ofResourceProps.getMetadata()
- Parameters:
metadata
- Metadata that all persisted resources must have, which includes all objects users must create.- Returns:
this
-
build
@Stability(Stable) public NamespaceProps build()
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<NamespaceProps>
- Returns:
- a new instance of
NamespaceProps
- Throws:
NullPointerException
- if any required attribute was not provided
-
-