public class ServicePortFluentImpl<A extends ServicePortFluent<A>> extends BaseFluent<A> implements ServicePortFluent<A>
| Modifier and Type | Class and Description |
|---|---|
class |
ServicePortFluentImpl.TargetPortNestedImpl<N> |
ServicePortFluent.TargetPortNested<N>_visitables| Constructor and Description |
|---|
ServicePortFluentImpl() |
ServicePortFluentImpl(ServicePort instance) |
| Modifier and Type | Method and Description |
|---|---|
IntOrString |
buildTargetPort() |
ServicePortFluent.TargetPortNested<A> |
editOrNewTargetPort() |
ServicePortFluent.TargetPortNested<A> |
editOrNewTargetPortLike(IntOrString item) |
ServicePortFluent.TargetPortNested<A> |
editTargetPort() |
boolean |
equals(Object o) |
String |
getName() |
Integer |
getNodePort() |
Integer |
getPort() |
String |
getProtocol() |
IntOrString |
getTargetPort()
Deprecated.
|
Boolean |
hasName() |
Boolean |
hasNodePort() |
Boolean |
hasPort() |
Boolean |
hasProtocol() |
Boolean |
hasTargetPort() |
A |
withName(String name) |
ServicePortFluent.TargetPortNested<A> |
withNewTargetPort() |
A |
withNewTargetPort(Integer intVal) |
A |
withNewTargetPort(String strVal) |
ServicePortFluent.TargetPortNested<A> |
withNewTargetPortLike(IntOrString item) |
A |
withNodePort(Integer nodePort) |
A |
withPort(Integer port) |
A |
withProtocol(String protocol) |
A |
withTargetPort(IntOrString targetPort) |
public ServicePortFluentImpl()
public ServicePortFluentImpl(ServicePort instance)
public String getName()
getName in interface ServicePortFluent<A extends ServicePortFluent<A>>public A withName(String name)
withName in interface ServicePortFluent<A extends ServicePortFluent<A>>public Boolean hasName()
hasName in interface ServicePortFluent<A extends ServicePortFluent<A>>public Integer getNodePort()
getNodePort in interface ServicePortFluent<A extends ServicePortFluent<A>>public A withNodePort(Integer nodePort)
withNodePort in interface ServicePortFluent<A extends ServicePortFluent<A>>public Boolean hasNodePort()
hasNodePort in interface ServicePortFluent<A extends ServicePortFluent<A>>public Integer getPort()
getPort in interface ServicePortFluent<A extends ServicePortFluent<A>>public A withPort(Integer port)
withPort in interface ServicePortFluent<A extends ServicePortFluent<A>>public Boolean hasPort()
hasPort in interface ServicePortFluent<A extends ServicePortFluent<A>>public String getProtocol()
getProtocol in interface ServicePortFluent<A extends ServicePortFluent<A>>public A withProtocol(String protocol)
withProtocol in interface ServicePortFluent<A extends ServicePortFluent<A>>public Boolean hasProtocol()
hasProtocol in interface ServicePortFluent<A extends ServicePortFluent<A>>@Deprecated public IntOrString getTargetPort()
getTargetPort in interface ServicePortFluent<A extends ServicePortFluent<A>>public IntOrString buildTargetPort()
buildTargetPort in interface ServicePortFluent<A extends ServicePortFluent<A>>public A withTargetPort(IntOrString targetPort)
withTargetPort in interface ServicePortFluent<A extends ServicePortFluent<A>>public Boolean hasTargetPort()
hasTargetPort in interface ServicePortFluent<A extends ServicePortFluent<A>>public ServicePortFluent.TargetPortNested<A> withNewTargetPort()
withNewTargetPort in interface ServicePortFluent<A extends ServicePortFluent<A>>public ServicePortFluent.TargetPortNested<A> withNewTargetPortLike(IntOrString item)
withNewTargetPortLike in interface ServicePortFluent<A extends ServicePortFluent<A>>public ServicePortFluent.TargetPortNested<A> editTargetPort()
editTargetPort in interface ServicePortFluent<A extends ServicePortFluent<A>>public ServicePortFluent.TargetPortNested<A> editOrNewTargetPort()
editOrNewTargetPort in interface ServicePortFluent<A extends ServicePortFluent<A>>public ServicePortFluent.TargetPortNested<A> editOrNewTargetPortLike(IntOrString item)
editOrNewTargetPortLike in interface ServicePortFluent<A extends ServicePortFluent<A>>public A withNewTargetPort(Integer intVal)
withNewTargetPort in interface ServicePortFluent<A extends ServicePortFluent<A>>public A withNewTargetPort(String strVal)
withNewTargetPort in interface ServicePortFluent<A extends ServicePortFluent<A>>Copyright © 2011–2017 Red Hat. All rights reserved.