Class V1PortworxVolumeSource

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1PortworxVolumeSource

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1PortworxVolumeSource extends Object
PortworxVolumeSource represents a Portworx volume resource.
  • Field Details

  • Constructor Details

    • V1PortworxVolumeSource

      public V1PortworxVolumeSource(String volumeID)
  • Method Details

    • getVolumeID

      public String getVolumeID()
      volumeID uniquely identifies a Portworx volume
      Returns:
      the volumeID property value
    • setVolumeID

      public void setVolumeID(String volumeID)
      Set the volumeID property value
      Parameters:
      volumeID - property value to set
    • volumeID

      public V1PortworxVolumeSource volumeID(String volumeID)
      Set volumeID in a chainable fashion.
      Returns:
      The same instance of V1PortworxVolumeSource for chaining.
    • getFsType

      public 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.
      Returns:
      the fsType property value
    • setFsType

      public void setFsType(String fsType)
      Set the fsType property value
      Parameters:
      fsType - property value to set
    • fsType

      public V1PortworxVolumeSource fsType(String fsType)
      Set fsType in a chainable fashion.
      Returns:
      The same instance of V1PortworxVolumeSource for chaining.
    • getReadOnly

      public Boolean getReadOnly()
      readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
      Returns:
      the readOnly property value
    • setReadOnly

      public void setReadOnly(Boolean readOnly)
      Set the readOnly property value
      Parameters:
      readOnly - property value to set
    • readOnly

      public V1PortworxVolumeSource readOnly(Boolean readOnly)
      Set readOnly in a chainable fashion.
      Returns:
      The same instance of V1PortworxVolumeSource for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object