Class V1StorageOSPersistentVolumeSource

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-18T15:05:57.863601Z[Etc/UTC]") public class V1StorageOSPersistentVolumeSource extends Object
Represents a StorageOS persistent volume resource.
  • Field Details

  • Constructor Details

    • V1StorageOSPersistentVolumeSource

      public V1StorageOSPersistentVolumeSource()
  • Method Details

    • fsType

      public V1StorageOSPersistentVolumeSource fsType(String fsType)
    • getFsType

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

      public void setFsType(String fsType)
    • readOnly

      public V1StorageOSPersistentVolumeSource 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)
    • secretRef

    • getSecretRef

      @Nullable public V1ObjectReference getSecretRef()
      Get secretRef
      Returns:
      secretRef
    • setSecretRef

      public void setSecretRef(V1ObjectReference secretRef)
    • volumeName

      public V1StorageOSPersistentVolumeSource volumeName(String volumeName)
    • getVolumeName

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

      public void setVolumeName(String volumeName)
    • volumeNamespace

      public V1StorageOSPersistentVolumeSource volumeNamespace(String volumeNamespace)
    • getVolumeNamespace

      @Nullable 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:
      volumeNamespace
    • setVolumeNamespace

      public void setVolumeNamespace(String volumeNamespace)
    • 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