Package org.cdk8s.plus25
Class NamespaceProps.Builder
- java.lang.Object
-
- org.cdk8s.plus25.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 NamespacePropsbuild()Builds the configured instance.NamespaceProps.Buildermetadata(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:
buildin interfacesoftware.amazon.jsii.Builder<NamespaceProps>- Returns:
- a new instance of
NamespaceProps - Throws:
NullPointerException- if any required attribute was not provided
-
-