Class AzureFileVolumeSource.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.AzureFileVolumeSource.Builder
-
- Enclosing class:
- AzureFileVolumeSource
public static class AzureFileVolumeSource.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AzureFileVolumeSource
build()
AzureFileVolumeSource.Builder
readOnly(java.lang.Boolean readOnly)
readOnly defaults to false (read/write).AzureFileVolumeSource.Builder
secretName(@NonNull java.lang.String secretName)
secretName is the name of secret that contains Azure Storage Account Name and KeyAzureFileVolumeSource.Builder
shareName(@NonNull java.lang.String shareName)
shareName is the azure share Namejava.lang.String
toString()
-
-
-
Method Detail
-
readOnly
public AzureFileVolumeSource.Builder readOnly(java.lang.Boolean readOnly)
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.- Returns:
this
.
-
secretName
public AzureFileVolumeSource.Builder secretName(@NonNull @NonNull java.lang.String secretName)
secretName is the name of secret that contains Azure Storage Account Name and Key- Returns:
this
.
-
shareName
public AzureFileVolumeSource.Builder shareName(@NonNull @NonNull java.lang.String shareName)
shareName is the azure share Name- Returns:
this
.
-
build
public AzureFileVolumeSource build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-