Package org.cdk8s.plus25.k8s
Class FlockerVolumeSource.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.FlockerVolumeSource.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<FlockerVolumeSource>
- Enclosing interface:
- FlockerVolumeSource
@Stability(Stable) public static final class FlockerVolumeSource.Builder extends Object implements software.amazon.jsii.Builder<FlockerVolumeSource>
A builder forFlockerVolumeSource
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlockerVolumeSourcebuild()Builds the configured instance.FlockerVolumeSource.BuilderdatasetName(String datasetName)Sets the value ofFlockerVolumeSource.getDatasetName()FlockerVolumeSource.BuilderdatasetUuid(String datasetUuid)Sets the value ofFlockerVolumeSource.getDatasetUuid()
-
-
-
Method Detail
-
datasetName
@Stability(Stable) public FlockerVolumeSource.Builder datasetName(String datasetName)
Sets the value ofFlockerVolumeSource.getDatasetName()- Parameters:
datasetName- datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated.- Returns:
this
-
datasetUuid
@Stability(Stable) public FlockerVolumeSource.Builder datasetUuid(String datasetUuid)
Sets the value ofFlockerVolumeSource.getDatasetUuid()- Parameters:
datasetUuid- datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset- Returns:
this
-
build
@Stability(Stable) public FlockerVolumeSource build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FlockerVolumeSource>- Returns:
- a new instance of
FlockerVolumeSource - Throws:
NullPointerException- if any required attribute was not provided
-
-