public class InspectVolumeCmdImpl extends AbstrDockerCmd<InspectVolumeCmd,InspectVolumeResponse> implements InspectVolumeCmd
InspectVolumeCmd.Exec
execution
Constructor and Description |
---|
InspectVolumeCmdImpl(InspectVolumeCmd.Exec exec,
String name) |
Modifier and Type | Method and Description |
---|---|
InspectVolumeResponse |
exec() |
String |
getName() |
InspectVolumeCmd |
withName(String name) |
close, registryAuth, toString
public InspectVolumeCmdImpl(InspectVolumeCmd.Exec exec, String name)
public String getName()
getName
in interface InspectVolumeCmd
public InspectVolumeCmd withName(String name)
withName
in interface InspectVolumeCmd
name
- - The volume’s name.public InspectVolumeResponse exec() throws NotFoundException
exec
in interface SyncDockerCmd<InspectVolumeResponse>
exec
in class AbstrDockerCmd<InspectVolumeCmd,InspectVolumeResponse>
NotFoundException
- No such volumeCopyright © 2017. All Rights Reserved.