Class V1NFSVolumeSource
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1NFSVolumeSource
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
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()
Set path in a chainable fashion.Set readOnly in a chainable fashion.Set server in a chainable fashion.void
Set the path property valuevoid
setReadOnly
(Boolean readOnly) Set the readOnly property valuevoid
Set the server property valuetoString()
-
Field Details
-
JSON_PROPERTY_PATH
- See Also:
-
JSON_PROPERTY_SERVER
- See Also:
-
JSON_PROPERTY_READ_ONLY
- See Also:
-
-
Constructor Details
-
V1NFSVolumeSource
-
-
Method Details
-
getPath
path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs- Returns:
- the path property value
-
setPath
Set the path property value- Parameters:
path
- property value to set
-
path
Set path in a chainable fashion.- Returns:
- The same instance of V1NFSVolumeSource for chaining.
-
getServer
server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs- Returns:
- the server property value
-
setServer
Set the server property value- Parameters:
server
- property value to set
-
server
Set server in a chainable fashion.- Returns:
- The same instance of V1NFSVolumeSource for chaining.
-
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:
- 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 V1NFSVolumeSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-