public class ServicePortFluent<A extends ServicePortFluent<A>>
extends io.fabric8.kubernetes.api.builder.BaseFluent<A>
| Modifier and Type | Class and Description |
|---|---|
class |
ServicePortFluent.TargetPortNested<N> |
| Constructor and Description |
|---|
ServicePortFluent() |
ServicePortFluent(ServicePort instance) |
public ServicePortFluent()
public ServicePortFluent(ServicePort instance)
protected void copyInstance(ServicePort instance)
public String getAppProtocol()
public boolean hasAppProtocol()
public String getName()
public boolean hasName()
public Integer getNodePort()
public boolean hasNodePort()
public Integer getPort()
public boolean hasPort()
public String getProtocol()
public boolean hasProtocol()
public IntOrString buildTargetPort()
public A withTargetPort(IntOrString targetPort)
public boolean hasTargetPort()
public ServicePortFluent.TargetPortNested<A> withNewTargetPort()
public ServicePortFluent.TargetPortNested<A> withNewTargetPortLike(IntOrString item)
public ServicePortFluent.TargetPortNested<A> editTargetPort()
public ServicePortFluent.TargetPortNested<A> editOrNewTargetPort()
public ServicePortFluent.TargetPortNested<A> editOrNewTargetPortLike(IntOrString item)
public <K,V> A withAdditionalProperties(Map<String,Object> additionalProperties)
public boolean hasAdditionalProperties()
public boolean equals(Object o)
equals in class io.fabric8.kubernetes.api.builder.BaseFluent<A extends ServicePortFluent<A>>public int hashCode()
hashCode in class io.fabric8.kubernetes.api.builder.BaseFluent<A extends ServicePortFluent<A>>Copyright © 2015–2024 Red Hat. All rights reserved.