Class VolumeDevice.Builder

  • Enclosing class:
    VolumeDevice

    public static class VolumeDevice.Builder
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      VolumeDevice build()  
      VolumeDevice.Builder devicePath​(@NonNull java.lang.String devicePath)
      devicePath is the path inside of the container that the device will be mapped to.
      VolumeDevice.Builder name​(@NonNull java.lang.String name)
      name must match the name of a persistentVolumeClaim in the pod
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • devicePath

        public VolumeDevice.Builder devicePath​(@NonNull
                                               @NonNull java.lang.String devicePath)
        devicePath is the path inside of the container that the device will be mapped to.
        Returns:
        this.
      • name

        public VolumeDevice.Builder name​(@NonNull
                                         @NonNull java.lang.String name)
        name must match the name of a persistentVolumeClaim in the pod
        Returns:
        this.
      • toString

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