public class ContainerPortFluentImpl<A extends ContainerPortFluent<A>> extends BaseFluent<A> implements ContainerPortFluent<A>
_visitables
Constructor and Description |
---|
ContainerPortFluentImpl() |
ContainerPortFluentImpl(ContainerPort instance) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Integer |
getContainerPort() |
String |
getHostIP() |
Integer |
getHostPort() |
String |
getName() |
String |
getProtocol() |
Boolean |
hasContainerPort() |
Boolean |
hasHostIP() |
Boolean |
hasHostPort() |
Boolean |
hasName() |
Boolean |
hasProtocol() |
A |
withContainerPort(Integer containerPort) |
A |
withHostIP(String hostIP) |
A |
withHostPort(Integer hostPort) |
A |
withName(String name) |
A |
withProtocol(String protocol) |
public ContainerPortFluentImpl()
public ContainerPortFluentImpl(ContainerPort instance)
public Integer getContainerPort()
getContainerPort
in interface ContainerPortFluent<A extends ContainerPortFluent<A>>
public A withContainerPort(Integer containerPort)
withContainerPort
in interface ContainerPortFluent<A extends ContainerPortFluent<A>>
public Boolean hasContainerPort()
hasContainerPort
in interface ContainerPortFluent<A extends ContainerPortFluent<A>>
public String getHostIP()
getHostIP
in interface ContainerPortFluent<A extends ContainerPortFluent<A>>
public A withHostIP(String hostIP)
withHostIP
in interface ContainerPortFluent<A extends ContainerPortFluent<A>>
public Boolean hasHostIP()
hasHostIP
in interface ContainerPortFluent<A extends ContainerPortFluent<A>>
public Integer getHostPort()
getHostPort
in interface ContainerPortFluent<A extends ContainerPortFluent<A>>
public A withHostPort(Integer hostPort)
withHostPort
in interface ContainerPortFluent<A extends ContainerPortFluent<A>>
public Boolean hasHostPort()
hasHostPort
in interface ContainerPortFluent<A extends ContainerPortFluent<A>>
public String getName()
getName
in interface ContainerPortFluent<A extends ContainerPortFluent<A>>
public A withName(String name)
withName
in interface ContainerPortFluent<A extends ContainerPortFluent<A>>
public Boolean hasName()
hasName
in interface ContainerPortFluent<A extends ContainerPortFluent<A>>
public String getProtocol()
getProtocol
in interface ContainerPortFluent<A extends ContainerPortFluent<A>>
public A withProtocol(String protocol)
withProtocol
in interface ContainerPortFluent<A extends ContainerPortFluent<A>>
public Boolean hasProtocol()
hasProtocol
in interface ContainerPortFluent<A extends ContainerPortFluent<A>>
Copyright © 2011–2017 Red Hat. All rights reserved.