public class UpdateServiceCmdImpl extends AbstrDockerCmd<UpdateServiceCmd,Void> implements UpdateServiceCmd
UpdateServiceCmd.Execexecution| Constructor and Description |
|---|
UpdateServiceCmdImpl(UpdateServiceCmd.Exec exec,
String serviceId,
ServiceSpec serviceSpec) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Void |
exec() |
String |
getServiceId() |
ServiceSpec |
getServiceSpec() |
Long |
getVersion() |
int |
hashCode() |
String |
toString() |
UpdateServiceCmd |
withServiceId(String serviceId) |
UpdateServiceCmd |
withServiceSpec(ServiceSpec serviceSpec) |
UpdateServiceCmdImpl |
withVersion(Long version) |
close, registryAuthpublic UpdateServiceCmdImpl(UpdateServiceCmd.Exec exec, String serviceId, ServiceSpec serviceSpec)
@CheckForNull public String getServiceId()
getServiceId in interface UpdateServiceCmdserviceIdpublic UpdateServiceCmd withServiceId(@Nonnull String serviceId)
withServiceId in interface UpdateServiceCmdserviceId@CheckForNull public ServiceSpec getServiceSpec()
getServiceSpec in interface UpdateServiceCmdserviceSpecpublic UpdateServiceCmd withServiceSpec(ServiceSpec serviceSpec)
withServiceSpec in interface UpdateServiceCmdserviceSpec@CheckForNull public Long getVersion()
getVersion in interface UpdateServiceCmdversionpublic UpdateServiceCmdImpl withVersion(Long version)
withVersion in interface UpdateServiceCmdversionpublic Void exec() throws NotFoundException
exec in interface SyncDockerCmd<Void>exec in class AbstrDockerCmd<UpdateServiceCmd,Void>NotFoundException - No such servicepublic String toString()
toString in class AbstrDockerCmd<UpdateServiceCmd,Void>Copyright © 2025. All rights reserved.