Package org.cdk8s.plus24.k8s
Class AllowedFlexVolumeV1Beta1.Builder
- java.lang.Object
-
- org.cdk8s.plus24.k8s.AllowedFlexVolumeV1Beta1.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AllowedFlexVolumeV1Beta1>
- Enclosing interface:
- AllowedFlexVolumeV1Beta1
@Stability(Stable) public static final class AllowedFlexVolumeV1Beta1.Builder extends Object implements software.amazon.jsii.Builder<AllowedFlexVolumeV1Beta1>
A builder forAllowedFlexVolumeV1Beta1
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AllowedFlexVolumeV1Beta1build()Builds the configured instance.AllowedFlexVolumeV1Beta1.Builderdriver(String driver)Sets the value ofAllowedFlexVolumeV1Beta1.getDriver()
-
-
-
Method Detail
-
driver
@Stability(Stable) public AllowedFlexVolumeV1Beta1.Builder driver(String driver)
Sets the value ofAllowedFlexVolumeV1Beta1.getDriver()- Parameters:
driver- driver is the name of the Flexvolume driver. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public AllowedFlexVolumeV1Beta1 build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AllowedFlexVolumeV1Beta1>- Returns:
- a new instance of
AllowedFlexVolumeV1Beta1 - Throws:
NullPointerException- if any required attribute was not provided
-
-