Class V1NFSVolumeSource
java.lang.Object
io.kubernetes.client.openapi.models.V1NFSVolumeSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-18T15:05:57.863601Z[Etc/UTC]")
public class V1NFSVolumeSource
extends Object
Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getPath()
path that is exported by the NFS server.readOnly here will force the NFS export to be mounted with read-only permissions.server is the hostname or IP address of the NFS server.int
hashCode()
void
void
setReadOnly
(Boolean readOnly) void
toString()
-
Field Details
-
SERIALIZED_NAME_PATH
- See Also:
-
SERIALIZED_NAME_READ_ONLY
- See Also:
-
SERIALIZED_NAME_SERVER
- See Also:
-
-
Constructor Details
-
V1NFSVolumeSource
public V1NFSVolumeSource()
-
-
Method Details
-
path
-
getPath
path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs- Returns:
- path
-
setPath
-
readOnly
-
getReadOnly
readOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs- Returns:
- readOnly
-
setReadOnly
-
server
-
getServer
server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs- Returns:
- server
-
setServer
-
equals
-
hashCode
public int hashCode() -
toString
-