public class ContainerNetwork extends Object implements Serializable
https://github.com/docker/engine-api/blob/release/1.10/types/network/network.go
Docker named it EndpointSettingsContainerNetworkSettings
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
ContainerNetwork.Ipam
Docker named it EndpointIPAMConfig
|
Constructor and Description |
---|
ContainerNetwork() |
@CheckForNull public List<String> getAliases()
aliases
public ContainerNetwork withAliases(List<String> aliases)
aliases
public ContainerNetwork withAliases(String... aliases)
aliases
@CheckForNull public String getEndpointId()
endpointId
public ContainerNetwork withEndpointId(String endpointId)
endpointId
@CheckForNull public String getGateway()
gateway
public ContainerNetwork withGateway(String gateway)
gateway
@CheckForNull public String getGlobalIPv6Address()
globalIPv6Address
public ContainerNetwork withGlobalIPv6Address(String globalIPv6Address)
globalIPv6Address
@CheckForNull public Integer getGlobalIPv6PrefixLen()
globalIPv6PrefixLen
public ContainerNetwork withGlobalIPv6PrefixLen(Integer globalIPv6PrefixLen)
globalIPv6PrefixLen
@CheckForNull public String getIpAddress()
ipAddress
public ContainerNetwork withIpv4Address(String ipAddress)
ipAddress
@CheckForNull public ContainerNetwork.Ipam getIpamConfig()
ipamConfig
public ContainerNetwork withIpamConfig(ContainerNetwork.Ipam ipamConfig)
ipamConfig
@CheckForNull public Integer getIpPrefixLen()
ipPrefixLen
public ContainerNetwork withIpPrefixLen(Integer ipPrefixLen)
ipPrefixLen
@CheckForNull public String getIpV6Gateway()
ipV6Gateway
public ContainerNetwork withIpV6Gateway(String ipV6Gateway)
ipV6Gateway
@CheckForNull public Link[] getLinks()
links
public ContainerNetwork withLinks(List<Link> links)
links
public ContainerNetwork withLinks(Link... links)
links
@CheckForNull public String getMacAddress()
macAddress
public ContainerNetwork withMacAddress(String macAddress)
macAddress
@CheckForNull public String getNetworkID()
networkID
public ContainerNetwork withNetworkID(String networkID)
networkID
Copyright © 2021. All rights reserved.