public class VolumeMount extends ModelNodeAdapter implements IVolumeMount, IVolume, ResourcePropertyKeys
ANNOTATIONS, APIVERSION, CREATION_TIMESTAMP, FROM, GROUP, KIND, LABELS, METADATA, METADATA_NAME, METADATA_NAMESPACE, METADATA_RESOURCE_VERSION, METADATA_UID, NAME, NAMESPACE, OBJECTS, PORTS, PROTOCOL, RESOURCE_VERSION, TYPE, VALUE, VERBS, VERSION| Constructor and Description |
|---|
VolumeMount(org.jboss.dmr.ModelNode node) |
VolumeMount(org.jboss.dmr.ModelNode node,
IVolumeMount source) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getMountPath() |
String |
getName() |
int |
hashCode() |
boolean |
isReadOnly() |
void |
setMountPath(String path) |
void |
setName(String name) |
void |
setReadOnly(boolean readonly) |
getNode, getPropertyKeys, toJson, toJson, toStringpublic VolumeMount(org.jboss.dmr.ModelNode node)
public VolumeMount(org.jboss.dmr.ModelNode node,
IVolumeMount source)
public String getName()
getName in interface IVolumegetName in interface IVolumeMountpublic void setName(String name)
setName in interface IVolumesetName in interface IVolumeMountpublic void setMountPath(String path)
setMountPath in interface IVolumesetMountPath in interface IVolumeMountpublic String getMountPath()
getMountPath in interface IVolumegetMountPath in interface IVolumeMountpublic void setReadOnly(boolean readonly)
setReadOnly in interface IVolumesetReadOnly in interface IVolumeMountpublic boolean isReadOnly()
isReadOnly in interface IVolumeisReadOnly in interface IVolumeMountCopyright © 2020 Red Hat, Inc. All Rights Reserved.