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) |
String |
getName() |
Integer |
getNumber() |
String |
getProtocol() |
Integer |
getTargetPort() |
int |
hashCode() |
Boolean |
hasName() |
Boolean |
hasNumber() |
Boolean |
hasProtocol() |
Boolean |
hasTargetPort() |
A |
withName(String name) |
A |
withNewName(String arg0)
Deprecated.
|
A |
withNewProtocol(String arg0)
Deprecated.
|
A |
withNumber(Integer number) |
A |
withProtocol(String protocol) |
A |
withTargetPort(Integer targetPort) |
public PortFluentImpl()
public PortFluentImpl(Port instance)
public String getName()
getName in interface PortFluent<A extends PortFluent<A>>public A withName(String name)
withName in interface PortFluent<A extends PortFluent<A>>public Boolean hasName()
hasName in interface PortFluent<A extends PortFluent<A>>@Deprecated public A withNewName(String arg0)
withNewName in interface PortFluent<A extends PortFluent<A>>public Integer getNumber()
getNumber in interface PortFluent<A extends PortFluent<A>>public A withNumber(Integer number)
withNumber in interface PortFluent<A extends PortFluent<A>>public Boolean hasNumber()
hasNumber 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>>@Deprecated public A withNewProtocol(String arg0)
withNewProtocol in interface PortFluent<A extends PortFluent<A>>public Integer getTargetPort()
getTargetPort in interface PortFluent<A extends PortFluent<A>>public A withTargetPort(Integer targetPort)
withTargetPort in interface PortFluent<A extends PortFluent<A>>public Boolean hasTargetPort()
hasTargetPort in interface PortFluent<A extends PortFluent<A>>Copyright © 2015–2022 Red Hat. All rights reserved.