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() |
String |
toString() |
A |
withName(String name) |
A |
withNumber(Integer number) |
A |
withProtocol(String protocol) |
A |
withTargetPort(Integer targetPort) |
accept, accept, accept, accept, aggregate, aggregate, build, build, builderOfpublic 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>>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>>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>>public boolean equals(Object o)
equals in class io.fabric8.kubernetes.api.builder.BaseFluent<A extends PortFluent<A>>public int hashCode()
hashCode in class io.fabric8.kubernetes.api.builder.BaseFluent<A extends PortFluent<A>>Copyright © 2015–2022 Red Hat. All rights reserved.