public class PortFluentImpl<A extends PortFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements PortFluent<A>
| Constructor and Description |
|---|
PortFluentImpl() |
PortFluentImpl(Port instance) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Integer |
getPort() |
String |
getProtocol() |
Boolean |
hasPort() |
Boolean |
hasProtocol() |
A |
withNewPort(int arg1) |
A |
withNewPort(String arg1) |
A |
withPort(Integer port) |
A |
withProtocol(String protocol) |
public PortFluentImpl()
public PortFluentImpl(Port instance)
public Integer getPort()
getPort in interface PortFluent<A extends PortFluent<A>>public A withPort(Integer port)
withPort in interface PortFluent<A extends PortFluent<A>>public Boolean hasPort()
hasPort in interface PortFluent<A extends PortFluent<A>>public A withNewPort(int arg1)
withNewPort in interface PortFluent<A extends PortFluent<A>>public A withNewPort(String arg1)
withNewPort in interface PortFluent<A extends PortFluent<A>>public String getProtocol()
getProtocol in interface PortFluent<A extends PortFluent<A>>public A withProtocol(String protocol)
withProtocol in interface PortFluent<A extends PortFluent<A>>public Boolean hasProtocol()
hasProtocol in interface PortFluent<A extends PortFluent<A>>Copyright © 2017–2018 Red Hat. All rights reserved.