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) |
getRawValues
public static final long serialVersionUID
@CheckForNull public EndpointResolutionMode getMode()
mode
public EndpointSpec withMode(EndpointResolutionMode mode)
mode
@CheckForNull public List<PortConfig> getPorts()
ports
public EndpointSpec withPorts(List<PortConfig> ports)
ports
Copyright © 2024. All rights reserved.