Class AzureDiskVolumeSource.Builder

  • Enclosing class:
    AzureDiskVolumeSource

    public static class AzureDiskVolumeSource.Builder
    extends java.lang.Object
    • 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.
      • toString

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