Class V1StorageOSPersistentVolumeSource

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

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

  • Constructor Details

    • V1StorageOSPersistentVolumeSource

      public V1StorageOSPersistentVolumeSource()
  • 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
      Parameters:
      fsType - property value to set
    • fsType

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

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

      public void setSecretRef(V1ObjectReference secretRef)
      Set the secretRef property value
      Parameters:
      secretRef - property value to set
    • secretRef

      Set secretRef in a chainable fashion.
      Returns:
      The same instance of V1StorageOSPersistentVolumeSource 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
      Parameters:
      volumeName - property value to set
    • volumeName

      public V1StorageOSPersistentVolumeSource volumeName(String volumeName)
      Set volumeName in a chainable fashion.
      Returns:
      The same instance of V1StorageOSPersistentVolumeSource 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
      Parameters:
      volumeNamespace - property value to set
    • volumeNamespace

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