Class V1StorageOSVolumeSource

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1StorageOSVolumeSource extends Object
Represents a StorageOS persistent volume resource.
  • Field Details

  • Constructor Details

    • V1StorageOSVolumeSource

      public V1StorageOSVolumeSource()
  • Method Details

    • getFsType

      public String getFsType()
      fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.
      Returns:
      the fsType property value
    • setFsType

      public void setFsType(String fsType)
      Set the fsType property value
    • fsType

      public V1StorageOSVolumeSource fsType(String fsType)
      Set fsType in a chainable fashion.
      Returns:
      The same instance of V1StorageOSVolumeSource 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
    • readOnly

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

      public V1LocalObjectReference getSecretRef()
      Returns:
      the secretRef property value
    • setSecretRef

      public void setSecretRef(V1LocalObjectReference secretRef)
      Set the secretRef property value
    • secretRef

      public V1StorageOSVolumeSource secretRef(V1LocalObjectReference secretRef)
      Set secretRef in a chainable fashion.
      Returns:
      The same instance of V1StorageOSVolumeSource for chaining.
    • getVolumeName

      public String getVolumeName()
      volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
      Returns:
      the volumeName property value
    • setVolumeName

      public void setVolumeName(String volumeName)
      Set the volumeName property value
    • volumeName

      public V1StorageOSVolumeSource volumeName(String volumeName)
      Set volumeName in a chainable fashion.
      Returns:
      The same instance of V1StorageOSVolumeSource for chaining.
    • getVolumeNamespace

      public String getVolumeNamespace()
      volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.
      Returns:
      the volumeNamespace property value
    • setVolumeNamespace

      public void setVolumeNamespace(String volumeNamespace)
      Set the volumeNamespace property value
    • volumeNamespace

      public V1StorageOSVolumeSource volumeNamespace(String volumeNamespace)
      Set volumeNamespace in a chainable fashion.
      Returns:
      The same instance of V1StorageOSVolumeSource 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