public class EndpointSpec extends DockerObject implements Serializable
RemoteApiVersion#VERSION_1_24| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
EndpointSpec() |
| Modifier and Type | Method and Description |
|---|---|
EndpointResolutionMode |
getMode() |
List<PortConfig> |
getPorts() |
EndpointSpec |
withMode(EndpointResolutionMode mode) |
EndpointSpec |
withPorts(List<PortConfig> ports) |
getRawValuespublic static final long serialVersionUID
@CheckForNull public EndpointResolutionMode getMode()
modepublic EndpointSpec withMode(EndpointResolutionMode mode)
mode@CheckForNull public List<PortConfig> getPorts()
portspublic EndpointSpec withPorts(List<PortConfig> ports)
portsCopyright © 2025. All rights reserved.