@Generated(value="org.jsonschema2pojo") public class NFSVolumeSource extends Object
Constructor and Description |
---|
NFSVolumeSource()
No args constructor for use in serialization
|
NFSVolumeSource(String path,
Boolean readOnly,
String server) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
String |
getPath()
the path that is exported by the NFS server; see http://releases.k8s.io/v1.0.0/docs/volumes.md#nfs
|
Boolean |
getReadOnly()
forces the NFS export to be mounted with read-only permissions; see http://releases.k8s.io/v1.0.0/docs/volumes.md#nfs
|
String |
getServer()
the hostname or IP address of the NFS server; see http://releases.k8s.io/v1.0.0/docs/volumes.md#nfs
|
void |
setAdditionalProperty(String name,
Object value) |
void |
setPath(String path)
the path that is exported by the NFS server; see http://releases.k8s.io/v1.0.0/docs/volumes.md#nfs
|
void |
setReadOnly(Boolean readOnly)
forces the NFS export to be mounted with read-only permissions; see http://releases.k8s.io/v1.0.0/docs/volumes.md#nfs
|
void |
setServer(String server)
the hostname or IP address of the NFS server; see http://releases.k8s.io/v1.0.0/docs/volumes.md#nfs
|
public NFSVolumeSource()
public String getPath()
public void setPath(String path)
path
- The pathpublic Boolean getReadOnly()
public void setReadOnly(Boolean readOnly)
readOnly
- The readOnlypublic String getServer()
public void setServer(String server)
server
- The serverCopyright © 2011–2015 Red Hat. All rights reserved.