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(java.lang.Object o) |
java.lang.String |
getName() |
java.lang.Integer |
getNodePort() |
java.lang.Integer |
getPort() |
java.lang.String |
getProtocol() |
IntOrString |
getTargetPort()
Deprecated.
|
java.lang.Boolean |
hasName() |
java.lang.Boolean |
hasNodePort() |
java.lang.Boolean |
hasPort() |
java.lang.Boolean |
hasProtocol() |
java.lang.Boolean |
hasTargetPort() |
A |
withName(java.lang.String name) |
A |
withNewName(java.lang.String arg1) |
A |
withNewName(java.lang.StringBuffer arg1) |
A |
withNewName(java.lang.StringBuilder arg1) |
A |
withNewProtocol(java.lang.String arg1) |
A |
withNewProtocol(java.lang.StringBuffer arg1) |
A |
withNewProtocol(java.lang.StringBuilder arg1) |
ServicePortFluent.TargetPortNested<A> |
withNewTargetPort() |
A |
withNewTargetPort(java.lang.Integer intVal) |
A |
withNewTargetPort(java.lang.String strVal) |
ServicePortFluent.TargetPortNested<A> |
withNewTargetPortLike(IntOrString item) |
A |
withNodePort(java.lang.Integer nodePort) |
A |
withPort(java.lang.Integer port) |
A |
withProtocol(java.lang.String protocol) |
A |
withTargetPort(IntOrString targetPort) |
public ServicePortFluentImpl()
public ServicePortFluentImpl(ServicePort instance)
public java.lang.String getName()
getName in interface ServicePortFluent<A extends ServicePortFluent<A>>public A withName(java.lang.String name)
withName in interface ServicePortFluent<A extends ServicePortFluent<A>>public java.lang.Boolean hasName()
hasName in interface ServicePortFluent<A extends ServicePortFluent<A>>public A withNewName(java.lang.String arg1)
withNewName in interface ServicePortFluent<A extends ServicePortFluent<A>>public A withNewName(java.lang.StringBuilder arg1)
withNewName in interface ServicePortFluent<A extends ServicePortFluent<A>>public A withNewName(java.lang.StringBuffer arg1)
withNewName in interface ServicePortFluent<A extends ServicePortFluent<A>>public java.lang.Integer getNodePort()
getNodePort in interface ServicePortFluent<A extends ServicePortFluent<A>>public A withNodePort(java.lang.Integer nodePort)
withNodePort in interface ServicePortFluent<A extends ServicePortFluent<A>>public java.lang.Boolean hasNodePort()
hasNodePort in interface ServicePortFluent<A extends ServicePortFluent<A>>public java.lang.Integer getPort()
getPort in interface ServicePortFluent<A extends ServicePortFluent<A>>public A withPort(java.lang.Integer port)
withPort in interface ServicePortFluent<A extends ServicePortFluent<A>>public java.lang.Boolean hasPort()
hasPort in interface ServicePortFluent<A extends ServicePortFluent<A>>public java.lang.String getProtocol()
getProtocol in interface ServicePortFluent<A extends ServicePortFluent<A>>public A withProtocol(java.lang.String protocol)
withProtocol in interface ServicePortFluent<A extends ServicePortFluent<A>>public java.lang.Boolean hasProtocol()
hasProtocol in interface ServicePortFluent<A extends ServicePortFluent<A>>public A withNewProtocol(java.lang.String arg1)
withNewProtocol in interface ServicePortFluent<A extends ServicePortFluent<A>>public A withNewProtocol(java.lang.StringBuilder arg1)
withNewProtocol in interface ServicePortFluent<A extends ServicePortFluent<A>>public A withNewProtocol(java.lang.StringBuffer arg1)
withNewProtocol 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 java.lang.Boolean hasTargetPort()
hasTargetPort in interface ServicePortFluent<A extends ServicePortFluent<A>>public A withNewTargetPort(java.lang.String strVal)
withNewTargetPort in interface ServicePortFluent<A extends ServicePortFluent<A>>public A withNewTargetPort(java.lang.Integer intVal)
withNewTargetPort 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 boolean equals(java.lang.Object o)
equals in class java.lang.ObjectCopyright © 2015-2019 Red Hat. All Rights Reserved.