Package io.fabric8.kubernetes.api.model
Interface ServicePortFluent<A extends ServicePortFluent<A>>
- All Superinterfaces:
Fluent<A>
- All Known Subinterfaces:
ServiceSpecFluent.PortsNested<N>
,WatchEventFluent.ServicePortObjectNested<N>
- All Known Implementing Classes:
DoneableServicePort
,ServicePortBuilder
,ServicePortFluentImpl
,ServiceSpecFluentImpl.PortsNestedImpl
,WatchEventFluentImpl.ServicePortObjectNestedImpl
public interface ServicePortFluent<A extends ServicePortFluent<A>> extends Fluent<A>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ServicePortFluent.TargetPortNested<N>
-
Method Summary
-
Method Details
-
getAppProtocol
String getAppProtocol() -
withAppProtocol
-
hasAppProtocol
Boolean hasAppProtocol() -
withNewAppProtocol
-
withNewAppProtocol
-
withNewAppProtocol
-
getName
String getName() -
withName
-
hasName
Boolean hasName() -
withNewName
-
withNewName
-
withNewName
-
getNodePort
Integer getNodePort() -
withNodePort
-
hasNodePort
Boolean hasNodePort() -
withNewNodePort
-
withNewNodePort
-
getPort
Integer getPort() -
withPort
-
hasPort
Boolean hasPort() -
withNewPort
-
withNewPort
-
getProtocol
String getProtocol() -
withProtocol
-
hasProtocol
Boolean hasProtocol() -
withNewProtocol
-
withNewProtocol
-
withNewProtocol
-
getTargetPort
Deprecated.This method has been deprecated, please use method buildTargetPort instead.- Returns:
- The buildable object.
-
buildTargetPort
IntOrString buildTargetPort() -
withTargetPort
-
hasTargetPort
Boolean hasTargetPort() -
withNewTargetPort
-
withNewTargetPort
-
withNewTargetPort
ServicePortFluent.TargetPortNested<A> withNewTargetPort() -
withNewTargetPortLike
-
editTargetPort
ServicePortFluent.TargetPortNested<A> editTargetPort() -
editOrNewTargetPort
ServicePortFluent.TargetPortNested<A> editOrNewTargetPort() -
editOrNewTargetPortLike
-