Package io.fabric8.kubernetes.api.model
Class ServicePortFluentImpl<A extends ServicePortFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.ServicePortFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>,Visitable<A>,ServicePortFluent<A>
- Direct Known Subclasses:
ServicePortBuilder,ServiceSpecFluentImpl.PortsNestedImpl,WatchEventFluentImpl.ServicePortObjectNestedImpl
public class ServicePortFluentImpl<A extends ServicePortFluent<A>> extends BaseFluent<A> implements ServicePortFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classServicePortFluentImpl.TargetPortNestedImpl<N>-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.ServicePortFluent
ServicePortFluent.TargetPortNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description ServicePortFluentImpl()ServicePortFluentImpl(ServicePort instance)
-
Method Summary
-
-
-
Constructor Detail
-
ServicePortFluentImpl
public ServicePortFluentImpl()
-
ServicePortFluentImpl
public ServicePortFluentImpl(ServicePort instance)
-
-
Method Detail
-
getAppProtocol
public String getAppProtocol()
- Specified by:
getAppProtocolin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
withAppProtocol
public A withAppProtocol(String appProtocol)
- Specified by:
withAppProtocolin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
hasAppProtocol
public Boolean hasAppProtocol()
- Specified by:
hasAppProtocolin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
withNewAppProtocol
public A withNewAppProtocol(String arg1)
- Specified by:
withNewAppProtocolin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
withNewAppProtocol
public A withNewAppProtocol(StringBuilder arg1)
- Specified by:
withNewAppProtocolin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
withNewAppProtocol
public A withNewAppProtocol(StringBuffer arg1)
- Specified by:
withNewAppProtocolin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
getName
public String getName()
- Specified by:
getNamein interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
withName
public A withName(String name)
- Specified by:
withNamein interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
hasName
public Boolean hasName()
- Specified by:
hasNamein interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
withNewName
public A withNewName(String arg1)
- Specified by:
withNewNamein interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
withNewName
public A withNewName(StringBuilder arg1)
- Specified by:
withNewNamein interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
withNewName
public A withNewName(StringBuffer arg1)
- Specified by:
withNewNamein interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
getNodePort
public Integer getNodePort()
- Specified by:
getNodePortin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
withNodePort
public A withNodePort(Integer nodePort)
- Specified by:
withNodePortin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
hasNodePort
public Boolean hasNodePort()
- Specified by:
hasNodePortin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
getPort
public Integer getPort()
- Specified by:
getPortin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
withPort
public A withPort(Integer port)
- Specified by:
withPortin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
hasPort
public Boolean hasPort()
- Specified by:
hasPortin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
getProtocol
public String getProtocol()
- Specified by:
getProtocolin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
withProtocol
public A withProtocol(String protocol)
- Specified by:
withProtocolin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
hasProtocol
public Boolean hasProtocol()
- Specified by:
hasProtocolin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
withNewProtocol
public A withNewProtocol(String arg1)
- Specified by:
withNewProtocolin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
withNewProtocol
public A withNewProtocol(StringBuilder arg1)
- Specified by:
withNewProtocolin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
withNewProtocol
public A withNewProtocol(StringBuffer arg1)
- Specified by:
withNewProtocolin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
getTargetPort
@Deprecated public IntOrString getTargetPort()
Deprecated.This method has been deprecated, please use method buildTargetPort instead.- Specified by:
getTargetPortin interfaceServicePortFluent<A extends ServicePortFluent<A>>- Returns:
- The buildable object.
-
buildTargetPort
public IntOrString buildTargetPort()
- Specified by:
buildTargetPortin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
withTargetPort
public A withTargetPort(IntOrString targetPort)
- Specified by:
withTargetPortin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
hasTargetPort
public Boolean hasTargetPort()
- Specified by:
hasTargetPortin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
withNewTargetPort
public A withNewTargetPort(String strVal)
- Specified by:
withNewTargetPortin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
withNewTargetPort
public A withNewTargetPort(Integer intVal)
- Specified by:
withNewTargetPortin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
withNewTargetPort
public ServicePortFluent.TargetPortNested<A> withNewTargetPort()
- Specified by:
withNewTargetPortin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
withNewTargetPortLike
public ServicePortFluent.TargetPortNested<A> withNewTargetPortLike(IntOrString item)
- Specified by:
withNewTargetPortLikein interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
editTargetPort
public ServicePortFluent.TargetPortNested<A> editTargetPort()
- Specified by:
editTargetPortin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
editOrNewTargetPort
public ServicePortFluent.TargetPortNested<A> editOrNewTargetPort()
- Specified by:
editOrNewTargetPortin interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
editOrNewTargetPortLike
public ServicePortFluent.TargetPortNested<A> editOrNewTargetPortLike(IntOrString item)
- Specified by:
editOrNewTargetPortLikein interfaceServicePortFluent<A extends ServicePortFluent<A>>
-
-