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 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
(V1ObjectReference secretRef) Set secretRef in a chainable fashion.void
Set the fsType property valuevoid
setReadOnly
(Boolean readOnly) Set the readOnly property valuevoid
setSecretRef
(V1ObjectReference 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
-
V1StorageOSPersistentVolumeSource
public V1StorageOSPersistentVolumeSource()
-
-
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- Parameters:
fsType
- property value to set
-
fsType
Set fsType in a chainable fashion.- Returns:
- The same instance of V1StorageOSPersistentVolumeSource 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- Parameters:
readOnly
- property value to set
-
readOnly
Set readOnly in a chainable fashion.- Returns:
- The same instance of V1StorageOSPersistentVolumeSource for chaining.
-
getSecretRef
- Returns:
- the secretRef property value
-
setSecretRef
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
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- Parameters:
volumeName
- property value to set
-
volumeName
Set volumeName in a chainable fashion.- Returns:
- The same instance of V1StorageOSPersistentVolumeSource 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- Parameters:
volumeNamespace
- property value to set
-
volumeNamespace
Set volumeNamespace in a chainable fashion.- Returns:
- The same instance of V1StorageOSPersistentVolumeSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-