Package org.cdk8s.plus25.k8s
Class VsphereVirtualDiskVolumeSource.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.VsphereVirtualDiskVolumeSource.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<VsphereVirtualDiskVolumeSource>
- Enclosing interface:
- VsphereVirtualDiskVolumeSource
@Stability(Stable) public static final class VsphereVirtualDiskVolumeSource.Builder extends Object implements software.amazon.jsii.Builder<VsphereVirtualDiskVolumeSource>
A builder forVsphereVirtualDiskVolumeSource
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VsphereVirtualDiskVolumeSourcebuild()Builds the configured instance.VsphereVirtualDiskVolumeSource.BuilderfsType(String fsType)Sets the value ofVsphereVirtualDiskVolumeSource.getFsType()VsphereVirtualDiskVolumeSource.BuilderstoragePolicyId(String storagePolicyId)Sets the value ofVsphereVirtualDiskVolumeSource.getStoragePolicyId()VsphereVirtualDiskVolumeSource.BuilderstoragePolicyName(String storagePolicyName)Sets the value ofVsphereVirtualDiskVolumeSource.getStoragePolicyName()VsphereVirtualDiskVolumeSource.BuildervolumePath(String volumePath)Sets the value ofVsphereVirtualDiskVolumeSource.getVolumePath()
-
-
-
Method Detail
-
volumePath
@Stability(Stable) public VsphereVirtualDiskVolumeSource.Builder volumePath(String volumePath)
Sets the value ofVsphereVirtualDiskVolumeSource.getVolumePath()- Parameters:
volumePath- volumePath is the path that identifies vSphere volume vmdk. This parameter is required.- Returns:
this
-
fsType
@Stability(Stable) public VsphereVirtualDiskVolumeSource.Builder fsType(String fsType)
Sets the value ofVsphereVirtualDiskVolumeSource.getFsType()- Parameters:
fsType- fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.- Returns:
this
-
storagePolicyId
@Stability(Stable) public VsphereVirtualDiskVolumeSource.Builder storagePolicyId(String storagePolicyId)
Sets the value ofVsphereVirtualDiskVolumeSource.getStoragePolicyId()- Parameters:
storagePolicyId- storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.- Returns:
this
-
storagePolicyName
@Stability(Stable) public VsphereVirtualDiskVolumeSource.Builder storagePolicyName(String storagePolicyName)
Sets the value ofVsphereVirtualDiskVolumeSource.getStoragePolicyName()- Parameters:
storagePolicyName- storagePolicyName is the storage Policy Based Management (SPBM) profile name.- Returns:
this
-
build
@Stability(Stable) public VsphereVirtualDiskVolumeSource build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VsphereVirtualDiskVolumeSource>- Returns:
- a new instance of
VsphereVirtualDiskVolumeSource - Throws:
NullPointerException- if any required attribute was not provided
-
-