public class VolumeMount
extends java.lang.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(java.lang.Object o) |
java.lang.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.
|
java.lang.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() |
java.lang.String |
toString() |
public java.lang.String getDriver()
public java.lang.String getContainerDir()
public VolumeMount.Mode getMode()
public VolumeMount.DeviceType getDeviceType()
public VolumeDevice getDevice()
public static VolumeMount.VolumeMountBuilder builder()
public final boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object