Class PortworxVolumeSource

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

    public class PortworxVolumeSource
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    PortworxVolumeSource represents a Portworx volume resource.
    • Constructor Summary

      Constructors 
      Constructor Description
      PortworxVolumeSource()  
      PortworxVolumeSource​(java.lang.String fsType, java.lang.Boolean readOnly, @NonNull java.lang.String volumeID)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static PortworxVolumeSource.Builder builder()  
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getFsType()
      fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system.
      java.lang.Boolean getReadOnly()
      readOnly defaults to false (read/write).
      @NonNull java.lang.String getVolumeID()
      volumeID uniquely identifies a Portworx volume
      int hashCode()  
      void setFsType​(java.lang.String fsType)
      fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system.
      void setReadOnly​(java.lang.Boolean readOnly)
      readOnly defaults to false (read/write).
      void setVolumeID​(@NonNull java.lang.String volumeID)
      volumeID uniquely identifies a Portworx volume
      PortworxVolumeSource.Builder toBuilder()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • PortworxVolumeSource

        public PortworxVolumeSource​(java.lang.String fsType,
                                    java.lang.Boolean readOnly,
                                    @NonNull
                                    @NonNull java.lang.String volumeID)
      • PortworxVolumeSource

        public PortworxVolumeSource()
    • Method Detail

      • getFsType

        public java.lang.String getFsType()
        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.
      • getReadOnly

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

        @NonNull
        public @NonNull java.lang.String getVolumeID()
        volumeID uniquely identifies a Portworx volume
      • setFsType

        public void setFsType​(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.
      • setReadOnly

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

        public void setVolumeID​(@NonNull
                                @NonNull java.lang.String volumeID)
        volumeID uniquely identifies a Portworx volume
      • 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