Class ScaleIOPersistentVolumeSource

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class ScaleIOPersistentVolumeSource
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume
    • Constructor Summary

      Constructors 
      Constructor Description
      ScaleIOPersistentVolumeSource()  
      ScaleIOPersistentVolumeSource​(java.lang.String fsType, @NonNull java.lang.String gateway, java.lang.String protectionDomain, java.lang.Boolean readOnly, @NonNull SecretReference secretRef, java.lang.Boolean sslEnabled, java.lang.String storageMode, java.lang.String storagePool, @NonNull java.lang.String system, java.lang.String volumeName)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static ScaleIOPersistentVolumeSource.Builder builder()  
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getFsType()
      Filesystem type to mount.
      @NonNull java.lang.String getGateway()
      The host address of the ScaleIO API Gateway.
      java.lang.String getProtectionDomain()
      The name of the ScaleIO Protection Domain for the configured storage.
      java.lang.Boolean getReadOnly()
      Defaults to false (read/write).
      @NonNull SecretReference getSecretRef()  
      java.lang.Boolean getSslEnabled()
      Flag to enable/disable SSL communication with Gateway, default false
      java.lang.String getStorageMode()
      Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
      java.lang.String getStoragePool()
      The ScaleIO Storage Pool associated with the protection domain.
      @NonNull java.lang.String getSystem()
      The name of the storage system as configured in ScaleIO.
      java.lang.String getVolumeName()
      The name of a volume already created in the ScaleIO system that is associated with this volume source.
      int hashCode()  
      void setFsType​(java.lang.String fsType)
      Filesystem type to mount.
      void setGateway​(@NonNull java.lang.String gateway)
      The host address of the ScaleIO API Gateway.
      void setProtectionDomain​(java.lang.String protectionDomain)
      The name of the ScaleIO Protection Domain for the configured storage.
      void setReadOnly​(java.lang.Boolean readOnly)
      Defaults to false (read/write).
      void setSecretRef​(@NonNull SecretReference secretRef)  
      void setSslEnabled​(java.lang.Boolean sslEnabled)
      Flag to enable/disable SSL communication with Gateway, default false
      void setStorageMode​(java.lang.String storageMode)
      Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
      void setStoragePool​(java.lang.String storagePool)
      The ScaleIO Storage Pool associated with the protection domain.
      void setSystem​(@NonNull java.lang.String system)
      The name of the storage system as configured in ScaleIO.
      void setVolumeName​(java.lang.String volumeName)
      The name of a volume already created in the ScaleIO system that is associated with this volume source.
      ScaleIOPersistentVolumeSource.Builder toBuilder()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ScaleIOPersistentVolumeSource

        public ScaleIOPersistentVolumeSource​(java.lang.String fsType,
                                             @NonNull
                                             @NonNull java.lang.String gateway,
                                             java.lang.String protectionDomain,
                                             java.lang.Boolean readOnly,
                                             @NonNull
                                             @NonNull SecretReference secretRef,
                                             java.lang.Boolean sslEnabled,
                                             java.lang.String storageMode,
                                             java.lang.String storagePool,
                                             @NonNull
                                             @NonNull java.lang.String system,
                                             java.lang.String volumeName)
      • ScaleIOPersistentVolumeSource

        public ScaleIOPersistentVolumeSource()
    • Method Detail

      • getFsType

        public java.lang.String getFsType()
        Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs"
      • getGateway

        @NonNull
        public @NonNull java.lang.String getGateway()
        The host address of the ScaleIO API Gateway.
      • getProtectionDomain

        public java.lang.String getProtectionDomain()
        The name of the ScaleIO Protection Domain for the configured storage.
      • getReadOnly

        public java.lang.Boolean getReadOnly()
        Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
      • getSslEnabled

        public java.lang.Boolean getSslEnabled()
        Flag to enable/disable SSL communication with Gateway, default false
      • getStorageMode

        public java.lang.String getStorageMode()
        Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.
      • getStoragePool

        public java.lang.String getStoragePool()
        The ScaleIO Storage Pool associated with the protection domain.
      • getSystem

        @NonNull
        public @NonNull java.lang.String getSystem()
        The name of the storage system as configured in ScaleIO.
      • getVolumeName

        public java.lang.String getVolumeName()
        The name of a volume already created in the ScaleIO system that is associated with this volume source.
      • setFsType

        public void setFsType​(java.lang.String fsType)
        Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs"
      • setGateway

        public void setGateway​(@NonNull
                               @NonNull java.lang.String gateway)
        The host address of the ScaleIO API Gateway.
      • setProtectionDomain

        public void setProtectionDomain​(java.lang.String protectionDomain)
        The name of the ScaleIO Protection Domain for the configured storage.
      • setReadOnly

        public void setReadOnly​(java.lang.Boolean readOnly)
        Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
      • setSecretRef

        public void setSecretRef​(@NonNull
                                 @NonNull SecretReference secretRef)
      • setSslEnabled

        public void setSslEnabled​(java.lang.Boolean sslEnabled)
        Flag to enable/disable SSL communication with Gateway, default false
      • setStorageMode

        public void setStorageMode​(java.lang.String storageMode)
        Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.
      • setStoragePool

        public void setStoragePool​(java.lang.String storagePool)
        The ScaleIO Storage Pool associated with the protection domain.
      • setSystem

        public void setSystem​(@NonNull
                              @NonNull java.lang.String system)
        The name of the storage system as configured in ScaleIO.
      • setVolumeName

        public void setVolumeName​(java.lang.String volumeName)
        The name of a volume already created in the ScaleIO system that is associated with this volume source.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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