Class PortworxVolumeSource.Builder

  • Enclosing class:
    PortworxVolumeSource

    public static class PortworxVolumeSource.Builder
    extends java.lang.Object
    • Method Detail

      • fsType

        public PortworxVolumeSource.Builder fsType​(java.lang.String fsType)
        FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
        Returns:
        this.
      • readOnly

        public PortworxVolumeSource.Builder readOnly​(java.lang.Boolean readOnly)
        Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
        Returns:
        this.
      • volumeID

        public PortworxVolumeSource.Builder volumeID​(@NonNull
                                                     @NonNull java.lang.String volumeID)
        VolumeID uniquely identifies a Portworx volume
        Returns:
        this.
      • toString

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