public final class Binding extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static Binding |
from(String source,
String destination)
Create a
Binding from the specified source and destination. |
static Binding |
from(VolumeName sourceVolume,
String destination)
Create a
Binding from the specified source and destination. |
int |
hashCode() |
static Binding |
of(String value)
Create a
Binding with the specified value containing a host source,
container destination, and options. |
String |
toString() |
public static Binding of(String value)
Binding
with the specified value containing a host source,
container destination, and options.value
- the volume binding valueBinding
instancepublic static Binding from(VolumeName sourceVolume, String destination)
Binding
from the specified source and destination.sourceVolume
- the volume binding host sourcedestination
- the volume binding container destinationBinding
instance