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) |
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 A withNewNodePort(String arg1)
withNewNodePort
in interface ServicePortFluent<A extends ServicePortFluent<A>>
public A withNewNodePort(int arg1)
withNewNodePort
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 A withNewPort(String arg1)
withNewPort
in interface ServicePortFluent<A extends ServicePortFluent<A>>
public A withNewPort(int arg1)
withNewPort
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 A withNewTargetPort(String strVal)
withNewTargetPort
in interface ServicePortFluent<A extends ServicePortFluent<A>>
public A withNewTargetPort(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>>
Copyright © 2015–2018 Red Hat. All rights reserved.