public class CreateVolumeCmdImpl extends AbstrDockerCmd<CreateVolumeCmd,CreateVolumeResponse> implements CreateVolumeCmd
CreateVolumeCmd.Execexecution| Constructor and Description |
|---|
CreateVolumeCmdImpl(CreateVolumeCmd.Exec exec) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDriver() |
Map<String,String> |
getDriverOpts() |
String |
getName() |
CreateVolumeCmdImpl |
withDriver(String driver) |
CreateVolumeCmd |
withDriverOpts(Map<String,String> driverOpts) |
CreateVolumeCmdImpl |
withName(String name) |
close, exec, registryAuth, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitexecpublic CreateVolumeCmdImpl(CreateVolumeCmd.Exec exec)
public String getName()
getName in interface CreateVolumeCmdpublic String getDriver()
getDriver in interface CreateVolumeCmdpublic Map<String,String> getDriverOpts()
getDriverOpts in interface CreateVolumeCmdpublic CreateVolumeCmdImpl withName(String name)
withName in interface CreateVolumeCmdname - - The new volume’s name. If not specified, Docker generates a name.public CreateVolumeCmdImpl withDriver(String driver)
withDriver in interface CreateVolumeCmddriver - - Name of the volume driver to use. Defaults to local for the name.public CreateVolumeCmd withDriverOpts(Map<String,String> driverOpts)
withDriverOpts in interface CreateVolumeCmddriverOpts - - A mapping of driver options and values. These options are passed directly to the driver and are driver specific.Copyright © 2017. All Rights Reserved.