Class AzureDiskVolumeSource.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.AzureDiskVolumeSource.Builder
-
- Enclosing class:
- AzureDiskVolumeSource
public static class AzureDiskVolumeSource.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AzureDiskVolumeSource
build()
AzureDiskVolumeSource.Builder
cachingMode(java.lang.String cachingMode)
cachingMode is the Host Caching mode: None, Read Only, Read Write.AzureDiskVolumeSource.Builder
diskName(@NonNull java.lang.String diskName)
diskName is the Name of the data disk in the blob storageAzureDiskVolumeSource.Builder
diskURI(@NonNull java.lang.String diskURI)
diskURI is the URI of data disk in the blob storageAzureDiskVolumeSource.Builder
fsType(java.lang.String fsType)
fsType is Filesystem type to mount.AzureDiskVolumeSource.Builder
kind(java.lang.String kind)
kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set).AzureDiskVolumeSource.Builder
readOnly(java.lang.Boolean readOnly)
readOnly Defaults to false (read/write).java.lang.String
toString()
-
-
-
Method Detail
-
cachingMode
public AzureDiskVolumeSource.Builder cachingMode(java.lang.String cachingMode)
cachingMode is the Host Caching mode: None, Read Only, Read Write.- Returns:
this
.
-
diskName
public AzureDiskVolumeSource.Builder diskName(@NonNull @NonNull java.lang.String diskName)
diskName is the Name of the data disk in the blob storage- Returns:
this
.
-
diskURI
public AzureDiskVolumeSource.Builder diskURI(@NonNull @NonNull java.lang.String diskURI)
diskURI is the URI of data disk in the blob storage- Returns:
this
.
-
fsType
public AzureDiskVolumeSource.Builder fsType(java.lang.String 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
.
-
kind
public AzureDiskVolumeSource.Builder kind(java.lang.String kind)
kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared- Returns:
this
.
-
readOnly
public AzureDiskVolumeSource.Builder readOnly(java.lang.Boolean readOnly)
readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.- Returns:
this
.
-
build
public AzureDiskVolumeSource build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-