Package org.cdk8s.plus25.k8s
Class KubeCsiDriver.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.KubeCsiDriver.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeCsiDriver>
- Enclosing class:
- KubeCsiDriver
@Stability(Stable) public static final class KubeCsiDriver.Builder extends Object implements software.amazon.jsii.Builder<KubeCsiDriver>
A fluent builder forKubeCsiDriver.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeCsiDriverbuild()static KubeCsiDriver.Buildercreate(software.constructs.Construct scope, String id)KubeCsiDriver.Buildermetadata(ObjectMeta metadata)Standard object metadata.KubeCsiDriver.Builderspec(CsiDriverSpec spec)Specification of the CSI Driver.
-
-
-
Method Detail
-
create
@Stability(Stable) public static KubeCsiDriver.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
KubeCsiDriver.Builder.
-
spec
@Stability(Stable) public KubeCsiDriver.Builder spec(CsiDriverSpec spec)
Specification of the CSI Driver.- Parameters:
spec- Specification of the CSI Driver. This parameter is required.- Returns:
this
-
metadata
@Stability(Stable) public KubeCsiDriver.Builder metadata(ObjectMeta metadata)
Standard object metadata.metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
- Parameters:
metadata- Standard object metadata. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public KubeCsiDriver build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KubeCsiDriver>- Returns:
- a newly built instance of
KubeCsiDriver.
-
-