Package org.cdk8s.plus25.k8s
Class KubeStorageVersionV1Alpha1.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.KubeStorageVersionV1Alpha1.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeStorageVersionV1Alpha1>
- Enclosing class:
- KubeStorageVersionV1Alpha1
@Stability(Stable) public static final class KubeStorageVersionV1Alpha1.Builder extends Object implements software.amazon.jsii.Builder<KubeStorageVersionV1Alpha1>
A fluent builder forKubeStorageVersionV1Alpha1.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeStorageVersionV1Alpha1build()static KubeStorageVersionV1Alpha1.Buildercreate(software.constructs.Construct scope, String id)KubeStorageVersionV1Alpha1.Buildermetadata(ObjectMeta metadata)The name is. . KubeStorageVersionV1Alpha1.Builderspec(Object spec)Spec is an empty spec.
-
-
-
Method Detail
-
create
@Stability(Stable) public static KubeStorageVersionV1Alpha1.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- the scope in which to define this object. This parameter is required.id- a scope-local name for the object. This parameter is required.- Returns:
- a new instance of
KubeStorageVersionV1Alpha1.Builder.
-
spec
@Stability(Stable) public KubeStorageVersionV1Alpha1.Builder spec(Object spec)
Spec is an empty spec.It is here to comply with Kubernetes API style.
- Parameters:
spec- Spec is an empty spec. This parameter is required.- Returns:
this
-
metadata
@Stability(Stable) public KubeStorageVersionV1Alpha1.Builder metadata(ObjectMeta metadata)
The name is. . - Parameters:
metadata- The name is. . This parameter is required. - Returns:
this
-
build
@Stability(Stable) public KubeStorageVersionV1Alpha1 build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KubeStorageVersionV1Alpha1>- Returns:
- a newly built instance of
KubeStorageVersionV1Alpha1.
-
-