Package org.cdk8s.plus25.k8s
Class KubeStorageVersionV1Alpha1Props.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.KubeStorageVersionV1Alpha1Props.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeStorageVersionV1Alpha1Props>
- Enclosing interface:
- KubeStorageVersionV1Alpha1Props
@Stability(Stable) public static final class KubeStorageVersionV1Alpha1Props.Builder extends Object implements software.amazon.jsii.Builder<KubeStorageVersionV1Alpha1Props>
A builder forKubeStorageVersionV1Alpha1Props
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeStorageVersionV1Alpha1Propsbuild()Builds the configured instance.KubeStorageVersionV1Alpha1Props.Buildermetadata(ObjectMeta metadata)Sets the value ofKubeStorageVersionV1Alpha1Props.getMetadata()KubeStorageVersionV1Alpha1Props.Builderspec(Object spec)Sets the value ofKubeStorageVersionV1Alpha1Props.getSpec()
-
-
-
Method Detail
-
spec
@Stability(Stable) public KubeStorageVersionV1Alpha1Props.Builder spec(Object spec)
Sets the value ofKubeStorageVersionV1Alpha1Props.getSpec()- Parameters:
spec- Spec is an empty spec. This parameter is required. It is here to comply with Kubernetes API style.- Returns:
this
-
metadata
@Stability(Stable) public KubeStorageVersionV1Alpha1Props.Builder metadata(ObjectMeta metadata)
Sets the value ofKubeStorageVersionV1Alpha1Props.getMetadata()- Parameters:
metadata- The name is. . - Returns:
this
-
build
@Stability(Stable) public KubeStorageVersionV1Alpha1Props build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KubeStorageVersionV1Alpha1Props>- Returns:
- a new instance of
KubeStorageVersionV1Alpha1Props - Throws:
NullPointerException- if any required attribute was not provided
-
-