public class VolumeMount extends Object
Objects of this type are constructed by the service broker application, and used to build the response to the platform.
Modifier and Type | Class and Description |
---|---|
static class |
VolumeMount.DeviceType
Values specifying the type of device to mount.
|
static class |
VolumeMount.Mode
Values designating whether the mounted volume can be written to or read from.
|
static class |
VolumeMount.VolumeMountBuilder
Provides a fluent API for constructing a
VolumeMount . |
Modifier and Type | Method and Description |
---|---|
static VolumeMount.VolumeMountBuilder |
builder()
Create a builder that provides a fluent API for constructing a VolumeMount.
|
boolean |
equals(Object o) |
String |
getContainerDir()
Set the directory to mount inside the application container.
|
VolumeDevice |
getDevice()
Get the details of the volume device to mount.
|
VolumeMount.DeviceType |
getDeviceType()
Get the type of the volume device to mount.
|
String |
getDriver()
Get the name of the volume driver plugin which manages the device.
|
VolumeMount.Mode |
getMode()
Get a value indicating whether the volume can be mounted in read-only or read-write mode.
|
int |
hashCode() |
String |
toString() |
public String getDriver()
public String getContainerDir()
public VolumeMount.Mode getMode()
public VolumeMount.DeviceType getDeviceType()
public VolumeDevice getDevice()
public static VolumeMount.VolumeMountBuilder builder()