public class ContainerFluentImpl<A extends ContainerFluent<A>> extends io.fabric8.docker.api.builder.BaseFluent<A> implements ContainerFluent<A>
| Modifier and Type | Class and Description |
|---|---|
class |
ContainerFluentImpl.HostConfigNestedImpl<N> |
class |
ContainerFluentImpl.PortsNestedImpl<N> |
class |
ContainerFluentImpl.SummaryNetworkSettingsNestedImpl<N> |
ContainerFluent.HostConfigNested<N>, ContainerFluent.PortsNested<N>, ContainerFluent.SummaryNetworkSettingsNested<N>| Constructor and Description |
|---|
ContainerFluentImpl() |
ContainerFluentImpl(Container instance) |
public ContainerFluentImpl()
public ContainerFluentImpl(Container instance)
public String getId()
getId in interface ContainerFluent<A extends ContainerFluent<A>>public A withId(String id)
withId in interface ContainerFluent<A extends ContainerFluent<A>>public Boolean hasId()
hasId in interface ContainerFluent<A extends ContainerFluent<A>>public A addToNames(int index, String item)
addToNames in interface ContainerFluent<A extends ContainerFluent<A>>public A setToNames(int index, String item)
setToNames in interface ContainerFluent<A extends ContainerFluent<A>>public A addToNames(String... items)
addToNames in interface ContainerFluent<A extends ContainerFluent<A>>public A addAllToNames(Collection<String> items)
addAllToNames in interface ContainerFluent<A extends ContainerFluent<A>>public A removeFromNames(String... items)
removeFromNames in interface ContainerFluent<A extends ContainerFluent<A>>public A removeAllFromNames(Collection<String> items)
removeAllFromNames in interface ContainerFluent<A extends ContainerFluent<A>>public List<String> getNames()
getNames in interface ContainerFluent<A extends ContainerFluent<A>>public String getName(int index)
getName in interface ContainerFluent<A extends ContainerFluent<A>>public String getFirstName()
getFirstName in interface ContainerFluent<A extends ContainerFluent<A>>public String getLastName()
getLastName in interface ContainerFluent<A extends ContainerFluent<A>>public String getMatchingName(io.fabric8.docker.api.builder.Predicate<String> predicate)
getMatchingName in interface ContainerFluent<A extends ContainerFluent<A>>public A withNames(List<String> names)
withNames in interface ContainerFluent<A extends ContainerFluent<A>>public A withNames(String... names)
withNames in interface ContainerFluent<A extends ContainerFluent<A>>public Boolean hasNames()
hasNames in interface ContainerFluent<A extends ContainerFluent<A>>public String getImage()
getImage in interface ContainerFluent<A extends ContainerFluent<A>>public A withImage(String image)
withImage in interface ContainerFluent<A extends ContainerFluent<A>>public Boolean hasImage()
hasImage in interface ContainerFluent<A extends ContainerFluent<A>>public String getImageId()
getImageId in interface ContainerFluent<A extends ContainerFluent<A>>public A withImageId(String imageId)
withImageId in interface ContainerFluent<A extends ContainerFluent<A>>public Boolean hasImageId()
hasImageId in interface ContainerFluent<A extends ContainerFluent<A>>public String getCommand()
getCommand in interface ContainerFluent<A extends ContainerFluent<A>>public A withCommand(String command)
withCommand in interface ContainerFluent<A extends ContainerFluent<A>>public Boolean hasCommand()
hasCommand in interface ContainerFluent<A extends ContainerFluent<A>>public Long getCreated()
getCreated in interface ContainerFluent<A extends ContainerFluent<A>>public A withCreated(Long created)
withCreated in interface ContainerFluent<A extends ContainerFluent<A>>public Boolean hasCreated()
hasCreated in interface ContainerFluent<A extends ContainerFluent<A>>public A addToPorts(int index, Port item)
addToPorts in interface ContainerFluent<A extends ContainerFluent<A>>public A setToPorts(int index, Port item)
setToPorts in interface ContainerFluent<A extends ContainerFluent<A>>public A addToPorts(Port... items)
addToPorts in interface ContainerFluent<A extends ContainerFluent<A>>public A addAllToPorts(Collection<Port> items)
addAllToPorts in interface ContainerFluent<A extends ContainerFluent<A>>public A removeFromPorts(Port... items)
removeFromPorts in interface ContainerFluent<A extends ContainerFluent<A>>public A removeAllFromPorts(Collection<Port> items)
removeAllFromPorts in interface ContainerFluent<A extends ContainerFluent<A>>@Deprecated public List<Port> getPorts()
getPorts in interface ContainerFluent<A extends ContainerFluent<A>>public List<Port> buildPorts()
buildPorts in interface ContainerFluent<A extends ContainerFluent<A>>public Port buildPort(int index)
buildPort in interface ContainerFluent<A extends ContainerFluent<A>>public Port buildFirstPort()
buildFirstPort in interface ContainerFluent<A extends ContainerFluent<A>>public Port buildLastPort()
buildLastPort in interface ContainerFluent<A extends ContainerFluent<A>>public Port buildMatchingPort(io.fabric8.docker.api.builder.Predicate<PortBuilder> predicate)
buildMatchingPort in interface ContainerFluent<A extends ContainerFluent<A>>public A withPorts(List<Port> ports)
withPorts in interface ContainerFluent<A extends ContainerFluent<A>>public A withPorts(Port... ports)
withPorts in interface ContainerFluent<A extends ContainerFluent<A>>public Boolean hasPorts()
hasPorts in interface ContainerFluent<A extends ContainerFluent<A>>public ContainerFluent.PortsNested<A> addNewPort()
addNewPort in interface ContainerFluent<A extends ContainerFluent<A>>public ContainerFluent.PortsNested<A> addNewPortLike(Port item)
addNewPortLike in interface ContainerFluent<A extends ContainerFluent<A>>public ContainerFluent.PortsNested<A> setNewPortLike(int index, Port item)
setNewPortLike in interface ContainerFluent<A extends ContainerFluent<A>>public ContainerFluent.PortsNested<A> editPort(int index)
editPort in interface ContainerFluent<A extends ContainerFluent<A>>public ContainerFluent.PortsNested<A> editFirstPort()
editFirstPort in interface ContainerFluent<A extends ContainerFluent<A>>public ContainerFluent.PortsNested<A> editLastPort()
editLastPort in interface ContainerFluent<A extends ContainerFluent<A>>public ContainerFluent.PortsNested<A> editMatchingPort(io.fabric8.docker.api.builder.Predicate<PortBuilder> predicate)
editMatchingPort in interface ContainerFluent<A extends ContainerFluent<A>>public A addNewPort(String IP, Integer PrivatePort, Integer PublicPort, String Type)
addNewPort in interface ContainerFluent<A extends ContainerFluent<A>>public Long getSizeRw()
getSizeRw in interface ContainerFluent<A extends ContainerFluent<A>>public A withSizeRw(Long sizeRw)
withSizeRw in interface ContainerFluent<A extends ContainerFluent<A>>public Boolean hasSizeRw()
hasSizeRw in interface ContainerFluent<A extends ContainerFluent<A>>public Long getSizeRootFs()
getSizeRootFs in interface ContainerFluent<A extends ContainerFluent<A>>public A withSizeRootFs(Long sizeRootFs)
withSizeRootFs in interface ContainerFluent<A extends ContainerFluent<A>>public Boolean hasSizeRootFs()
hasSizeRootFs in interface ContainerFluent<A extends ContainerFluent<A>>public A addToLabels(String key, String value)
addToLabels in interface ContainerFluent<A extends ContainerFluent<A>>public A addToLabels(Map<String,String> map)
addToLabels in interface ContainerFluent<A extends ContainerFluent<A>>public A removeFromLabels(String key)
removeFromLabels in interface ContainerFluent<A extends ContainerFluent<A>>public A removeFromLabels(Map<String,String> map)
removeFromLabels in interface ContainerFluent<A extends ContainerFluent<A>>public Map<String,String> getLabels()
getLabels in interface ContainerFluent<A extends ContainerFluent<A>>public A withLabels(Map<String,String> labels)
withLabels in interface ContainerFluent<A extends ContainerFluent<A>>public Boolean hasLabels()
hasLabels in interface ContainerFluent<A extends ContainerFluent<A>>public String getStatus()
getStatus in interface ContainerFluent<A extends ContainerFluent<A>>public A withStatus(String status)
withStatus in interface ContainerFluent<A extends ContainerFluent<A>>public Boolean hasStatus()
hasStatus in interface ContainerFluent<A extends ContainerFluent<A>>@Deprecated public ContainerHostConfig getHostConfig()
getHostConfig in interface ContainerFluent<A extends ContainerFluent<A>>public ContainerHostConfig buildHostConfig()
buildHostConfig in interface ContainerFluent<A extends ContainerFluent<A>>public A withHostConfig(ContainerHostConfig hostConfig)
withHostConfig in interface ContainerFluent<A extends ContainerFluent<A>>public Boolean hasHostConfig()
hasHostConfig in interface ContainerFluent<A extends ContainerFluent<A>>public ContainerFluent.HostConfigNested<A> withNewHostConfig()
withNewHostConfig in interface ContainerFluent<A extends ContainerFluent<A>>public ContainerFluent.HostConfigNested<A> withNewHostConfigLike(ContainerHostConfig item)
withNewHostConfigLike in interface ContainerFluent<A extends ContainerFluent<A>>public ContainerFluent.HostConfigNested<A> editHostConfig()
editHostConfig in interface ContainerFluent<A extends ContainerFluent<A>>public ContainerFluent.HostConfigNested<A> editOrNewHostConfig()
editOrNewHostConfig in interface ContainerFluent<A extends ContainerFluent<A>>public ContainerFluent.HostConfigNested<A> editOrNewHostConfigLike(ContainerHostConfig item)
editOrNewHostConfigLike in interface ContainerFluent<A extends ContainerFluent<A>>public A withNewHostConfig(String networkMode)
withNewHostConfig in interface ContainerFluent<A extends ContainerFluent<A>>@Deprecated public NetworkSettings getSummaryNetworkSettings()
getSummaryNetworkSettings in interface ContainerFluent<A extends ContainerFluent<A>>public NetworkSettings buildSummaryNetworkSettings()
buildSummaryNetworkSettings in interface ContainerFluent<A extends ContainerFluent<A>>public A withSummaryNetworkSettings(NetworkSettings summaryNetworkSettings)
withSummaryNetworkSettings in interface ContainerFluent<A extends ContainerFluent<A>>public Boolean hasSummaryNetworkSettings()
hasSummaryNetworkSettings in interface ContainerFluent<A extends ContainerFluent<A>>public ContainerFluent.SummaryNetworkSettingsNested<A> withNewSummaryNetworkSettings()
withNewSummaryNetworkSettings in interface ContainerFluent<A extends ContainerFluent<A>>public ContainerFluent.SummaryNetworkSettingsNested<A> withNewSummaryNetworkSettingsLike(NetworkSettings item)
withNewSummaryNetworkSettingsLike in interface ContainerFluent<A extends ContainerFluent<A>>public ContainerFluent.SummaryNetworkSettingsNested<A> editSummaryNetworkSettings()
editSummaryNetworkSettings in interface ContainerFluent<A extends ContainerFluent<A>>public ContainerFluent.SummaryNetworkSettingsNested<A> editOrNewSummaryNetworkSettings()
editOrNewSummaryNetworkSettings in interface ContainerFluent<A extends ContainerFluent<A>>public ContainerFluent.SummaryNetworkSettingsNested<A> editOrNewSummaryNetworkSettingsLike(NetworkSettings item)
editOrNewSummaryNetworkSettingsLike in interface ContainerFluent<A extends ContainerFluent<A>>Copyright © 2015–2017 Red Hat. All rights reserved.