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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Set fsType in a chainable fashion.fsType is the filesystem type to mount.readOnly defaults to false (read/write).volumeName is the human-readable name of the StorageOS volume.volumeNamespace specifies the scope of the volume within StorageOS.int
hashCode()
Set readOnly in a chainable fashion.secretRef
(V1LocalObjectReference secretRef) Set secretRef in a chainable fashion.void
Set the fsType property valuevoid
setReadOnly
(Boolean readOnly) Set the readOnly property valuevoid
setSecretRef
(V1LocalObjectReference secretRef) Set the secretRef property valuevoid
setVolumeName
(String volumeName) Set the volumeName property valuevoid
setVolumeNamespace
(String volumeNamespace) Set the volumeNamespace property valuetoString()
volumeName
(String volumeName) Set volumeName in a chainable fashion.volumeNamespace
(String volumeNamespace) Set volumeNamespace in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_FS_TYPE
- See Also:
-
JSON_PROPERTY_READ_ONLY
- See Also:
-
JSON_PROPERTY_SECRET_REF
- See Also:
-
JSON_PROPERTY_VOLUME_NAME
- See Also:
-
JSON_PROPERTY_VOLUME_NAMESPACE
- See Also:
-
-
Constructor Details
-
V1StorageOSVolumeSource
public V1StorageOSVolumeSource()
-
-
Method Details
-
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
Set the fsType property value -
fsType
Set fsType in a chainable fashion.- Returns:
- The same instance of V1StorageOSVolumeSource for chaining.
-
getReadOnly
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.- Returns:
- the readOnly property value
-
setReadOnly
Set the readOnly property value -
readOnly
Set readOnly in a chainable fashion.- Returns:
- The same instance of V1StorageOSVolumeSource for chaining.
-
getSecretRef
- Returns:
- the secretRef property value
-
setSecretRef
Set the secretRef property value -
secretRef
Set secretRef in a chainable fashion.- Returns:
- The same instance of V1StorageOSVolumeSource for chaining.
-
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
Set the volumeName property value -
volumeName
Set volumeName in a chainable fashion.- Returns:
- The same instance of V1StorageOSVolumeSource for chaining.
-
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
Set the volumeNamespace property value -
volumeNamespace
Set volumeNamespace in a chainable fashion.- Returns:
- The same instance of V1StorageOSVolumeSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-