Package io.fabric8.kubernetes.api.model
Class ServicePortFluent<A extends ServicePortFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.ServicePortFluent<A>
-
- Direct Known Subclasses:
ServicePortBuilder
,ServiceSpecFluent.PortsNested
public class ServicePortFluent<A extends ServicePortFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A>
Generated
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ServicePortFluent.TargetPortNested<N>
-
Constructor Summary
Constructors Constructor Description ServicePortFluent()
ServicePortFluent(ServicePort instance)
-
Method Summary
-
-
-
Constructor Detail
-
ServicePortFluent
public ServicePortFluent()
-
ServicePortFluent
public ServicePortFluent(ServicePort instance)
-
-
Method Detail
-
copyInstance
protected void copyInstance(ServicePort instance)
-
getAppProtocol
public String getAppProtocol()
-
hasAppProtocol
public boolean hasAppProtocol()
-
getName
public String getName()
-
hasName
public boolean hasName()
-
getNodePort
public Integer getNodePort()
-
hasNodePort
public boolean hasNodePort()
-
getPort
public Integer getPort()
-
hasPort
public boolean hasPort()
-
getProtocol
public String getProtocol()
-
hasProtocol
public boolean hasProtocol()
-
buildTargetPort
public IntOrString buildTargetPort()
-
withTargetPort
public A withTargetPort(IntOrString targetPort)
-
hasTargetPort
public boolean hasTargetPort()
-
withNewTargetPort
public ServicePortFluent.TargetPortNested<A> withNewTargetPort()
-
withNewTargetPortLike
public ServicePortFluent.TargetPortNested<A> withNewTargetPortLike(IntOrString item)
-
editTargetPort
public ServicePortFluent.TargetPortNested<A> editTargetPort()
-
editOrNewTargetPort
public ServicePortFluent.TargetPortNested<A> editOrNewTargetPort()
-
editOrNewTargetPortLike
public ServicePortFluent.TargetPortNested<A> editOrNewTargetPortLike(IntOrString item)
-
withAdditionalProperties
public <K,V> A withAdditionalProperties(Map<String,Object> additionalProperties)
-
hasAdditionalProperties
public boolean hasAdditionalProperties()
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classio.fabric8.kubernetes.api.builder.BaseFluent<A extends ServicePortFluent<A>>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classio.fabric8.kubernetes.api.builder.BaseFluent<A extends ServicePortFluent<A>>
-
-