public class Service extends DockerObject implements Serializable
RemoteApiVersion#VERSION_1_24| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
Service() |
| Modifier and Type | Method and Description |
|---|---|
Date |
getCreatedAt() |
Endpoint |
getEndpoint() |
String |
getId() |
ServiceSpec |
getSpec() |
Date |
getUpdatedAt() |
ServiceUpdateStatus |
getUpdateStatus() |
ResourceVersion |
getVersion() |
Service |
withCreatedAt(Date createdAt) |
Service |
withEndpoint(Endpoint endpoint) |
Service |
withId(String id) |
Service |
withSpec(ServiceSpec spec) |
Service |
withUpdatedAt(Date updatedAt) |
Service |
withUpdateStatus(ServiceUpdateStatus updateStatus) |
Service |
withVersion(ResourceVersion version) |
getRawValuespublic static final long serialVersionUID
@CheckForNull public String getId()
id@CheckForNull public Date getCreatedAt()
createdAt@CheckForNull public Date getUpdatedAt()
updatedAt@CheckForNull public ServiceSpec getSpec()
specpublic Service withSpec(ServiceSpec spec)
spec@CheckForNull public Endpoint getEndpoint()
endpoint@CheckForNull public ServiceUpdateStatus getUpdateStatus()
updateStatuspublic Service withUpdateStatus(ServiceUpdateStatus updateStatus)
updateStatus@CheckForNull public ResourceVersion getVersion()
versionpublic Service withVersion(ResourceVersion version)
versionCopyright © 2025. All rights reserved.