Class ScaleIOVolumeSource.Builder

  • Enclosing class:
    ScaleIOVolumeSource

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

      • fsType

        public ScaleIOVolumeSource.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.
      • gateway

        public ScaleIOVolumeSource.Builder gateway​(@NonNull
                                                   @NonNull java.lang.String gateway)
        gateway is the host address of the ScaleIO API Gateway.
        Returns:
        this.
      • protectionDomain

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

        public ScaleIOVolumeSource.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 ScaleIOVolumeSource.Builder sslEnabled​(java.lang.Boolean sslEnabled)
        sslEnabled Flag enable/disable SSL communication with Gateway, default false
        Returns:
        this.
      • storageMode

        public ScaleIOVolumeSource.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 ScaleIOVolumeSource.Builder storagePool​(java.lang.String storagePool)
        storagePool is the ScaleIO Storage Pool associated with the protection domain.
        Returns:
        this.
      • system

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

        public ScaleIOVolumeSource.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