Class AzureDiskVolumeSource
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.AzureDiskVolumeSource
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class AzureDiskVolumeSource extends java.lang.Object implements com.marcnuri.yakc.model.Model
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AzureDiskVolumeSource.Builder
-
Constructor Summary
Constructors Constructor Description AzureDiskVolumeSource()
AzureDiskVolumeSource(java.lang.String cachingMode, @NonNull java.lang.String diskName, @NonNull java.lang.String diskURI, java.lang.String fsType, java.lang.String kind, java.lang.Boolean readOnly)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AzureDiskVolumeSource.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getCachingMode()
cachingMode is the Host Caching mode: None, Read Only, Read Write.@NonNull java.lang.String
getDiskName()
diskName is the Name of the data disk in the blob storage@NonNull java.lang.String
getDiskURI()
diskURI is the URI of data disk in the blob storagejava.lang.String
getFsType()
fsType is Filesystem type to mount.java.lang.String
getKind()
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).java.lang.Boolean
getReadOnly()
readOnly Defaults to false (read/write).int
hashCode()
void
setCachingMode(java.lang.String cachingMode)
cachingMode is the Host Caching mode: None, Read Only, Read Write.void
setDiskName(@NonNull java.lang.String diskName)
diskName is the Name of the data disk in the blob storagevoid
setDiskURI(@NonNull java.lang.String diskURI)
diskURI is the URI of data disk in the blob storagevoid
setFsType(java.lang.String fsType)
fsType is Filesystem type to mount.void
setKind(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).void
setReadOnly(java.lang.Boolean readOnly)
readOnly Defaults to false (read/write).AzureDiskVolumeSource.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
AzureDiskVolumeSource
public AzureDiskVolumeSource(java.lang.String cachingMode, @NonNull @NonNull java.lang.String diskName, @NonNull @NonNull java.lang.String diskURI, java.lang.String fsType, java.lang.String kind, java.lang.Boolean readOnly)
-
AzureDiskVolumeSource
public AzureDiskVolumeSource()
-
-
Method Detail
-
builder
public static AzureDiskVolumeSource.Builder builder()
-
toBuilder
public AzureDiskVolumeSource.Builder toBuilder()
-
getCachingMode
public java.lang.String getCachingMode()
cachingMode is the Host Caching mode: None, Read Only, Read Write.
-
getDiskName
@NonNull public @NonNull java.lang.String getDiskName()
diskName is the Name of the data disk in the blob storage
-
getDiskURI
@NonNull public @NonNull java.lang.String getDiskURI()
diskURI is the URI of data disk in the blob storage
-
getFsType
public java.lang.String getFsType()
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.
-
getKind
public java.lang.String getKind()
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
-
getReadOnly
public java.lang.Boolean getReadOnly()
readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
-
setCachingMode
public void setCachingMode(java.lang.String cachingMode)
cachingMode is the Host Caching mode: None, Read Only, Read Write.
-
setDiskName
public void setDiskName(@NonNull @NonNull java.lang.String diskName)
diskName is the Name of the data disk in the blob storage
-
setDiskURI
public void setDiskURI(@NonNull @NonNull java.lang.String diskURI)
diskURI is the URI of data disk in the blob storage
-
setFsType
public void setFsType(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.
-
setKind
public void setKind(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
-
setReadOnly
public void setReadOnly(java.lang.Boolean readOnly)
readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-