Class V1PortworxVolumeSource

java.lang.Object
io.kubernetes.client.openapi.models.V1PortworxVolumeSource

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-02-02T21:37:40.170033Z[Etc/UTC]") public class V1PortworxVolumeSource extends Object
PortworxVolumeSource represents a Portworx volume resource.
  • Field Details

  • Constructor Details

    • V1PortworxVolumeSource

      public V1PortworxVolumeSource()
  • Method Details

    • fsType

      public V1PortworxVolumeSource fsType(String fsType)
    • getFsType

      @Nullable 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:
      fsType
    • setFsType

      public void setFsType(String fsType)
    • readOnly

      public V1PortworxVolumeSource readOnly(Boolean readOnly)
    • getReadOnly

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

      public void setReadOnly(Boolean readOnly)
    • volumeID

      public V1PortworxVolumeSource volumeID(String volumeID)
    • getVolumeID

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

      public void setVolumeID(String volumeID)
    • 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