Class ScaleIOPersistentVolumeSource.Builder

    • Method Detail

      • fsType

        public ScaleIOPersistentVolumeSource.Builder fsType​(java.lang.String fsType)
        fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs"
        Returns:
        this.
      • protectionDomain

        public ScaleIOPersistentVolumeSource.Builder protectionDomain​(java.lang.String protectionDomain)
        protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
        Returns:
        this.
      • readOnly

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

        public ScaleIOPersistentVolumeSource.Builder sslEnabled​(java.lang.Boolean sslEnabled)
        sslEnabled is the flag to enable/disable SSL communication with Gateway, default false
        Returns:
        this.
      • storageMode

        public ScaleIOPersistentVolumeSource.Builder storageMode​(java.lang.String storageMode)
        storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.
        Returns:
        this.
      • storagePool

        public ScaleIOPersistentVolumeSource.Builder storagePool​(java.lang.String storagePool)
        storagePool is the ScaleIO Storage Pool associated with the protection domain.
        Returns:
        this.
      • system

        public ScaleIOPersistentVolumeSource.Builder system​(@NonNull
                                                            @NonNull java.lang.String system)
        system is the name of the storage system as configured in ScaleIO.
        Returns:
        this.
      • volumeName

        public ScaleIOPersistentVolumeSource.Builder volumeName​(java.lang.String volumeName)
        volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.
        Returns:
        this.
      • toString

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