Class 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.
    • 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 storage
      java.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 storage
      void setDiskURI​(@NonNull java.lang.String diskURI)
      diskURI is the URI of data disk in the blob storage
      void 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()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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

      • 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 class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object