Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1NFSVolumeSource
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1NFSVolumeSource
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1NFSVolumeSource 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
Fields Modifier and Type Field Description static StringJSON_PROPERTY_PATHstatic StringJSON_PROPERTY_READ_ONLYstatic StringJSON_PROPERTY_SERVER
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1NFSVolumeSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetPath()Path that is exported by the NFS server.BooleangetReadOnly()ReadOnly here will force the NFS export to be mounted with read-only permissions.StringgetServer()Server is the hostname or IP address of the NFS server.inthashCode()IoK8sApiCoreV1NFSVolumeSourcepath(String path)IoK8sApiCoreV1NFSVolumeSourcereadOnly(Boolean readOnly)IoK8sApiCoreV1NFSVolumeSourceserver(String server)voidsetPath(String path)voidsetReadOnly(Boolean readOnly)voidsetServer(String server)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_PATH
public static final String JSON_PROPERTY_PATH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_READ_ONLY
public static final String JSON_PROPERTY_READ_ONLY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SERVER
public static final String JSON_PROPERTY_SERVER
- See Also:
- Constant Field Values
-
-
Method Detail
-
path
public IoK8sApiCoreV1NFSVolumeSource path(String path)
-
getPath
public String getPath()
Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs- Returns:
- path
-
setPath
public void setPath(String path)
-
readOnly
public IoK8sApiCoreV1NFSVolumeSource readOnly(Boolean readOnly)
-
getReadOnly
@Nullable public Boolean 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
public void setReadOnly(Boolean readOnly)
-
server
public IoK8sApiCoreV1NFSVolumeSource server(String server)
-
getServer
public String 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
public void setServer(String server)
-
-