Class IoK8sApiCoreV1StorageOSPersistentVolumeSource


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]")
    public class IoK8sApiCoreV1StorageOSPersistentVolumeSource
    extends Object
    Represents a StorageOS persistent volume resource.
    • Constructor Detail

      • IoK8sApiCoreV1StorageOSPersistentVolumeSource

        public IoK8sApiCoreV1StorageOSPersistentVolumeSource()
    • Method Detail

      • getFsType

        @Nullable
        public String getFsType()
        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)
      • getReadOnly

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

        public void setReadOnly​(Boolean readOnly)
      • 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)
      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object