public class ServicePortFluent<A extends ServicePortFluent<A>>
extends io.fabric8.kubernetes.api.builder.BaseFluent<A>
| Constructor and Description |
|---|
ServicePortFluent() |
ServicePortFluent(ServicePort instance) |
| Modifier and Type | Method and Description |
|---|---|
A |
addToAdditionalProperties(Map<String,Object> map) |
A |
addToAdditionalProperties(String key,
Object value) |
protected void |
copyInstance(ServicePort instance) |
boolean |
equals(Object o) |
Map<String,Object> |
getAdditionalProperties() |
String |
getName() |
Integer |
getNumber() |
String |
getProtocol() |
Integer |
getTargetPort() |
boolean |
hasAdditionalProperties() |
int |
hashCode() |
boolean |
hasName() |
boolean |
hasNumber() |
boolean |
hasProtocol() |
boolean |
hasTargetPort() |
A |
removeFromAdditionalProperties(Map<String,Object> map) |
A |
removeFromAdditionalProperties(String key) |
String |
toString() |
<K,V> A |
withAdditionalProperties(Map<String,Object> additionalProperties) |
A |
withName(String name) |
A |
withNumber(Integer number) |
A |
withProtocol(String protocol) |
A |
withTargetPort(Integer targetPort) |
public ServicePortFluent()
public ServicePortFluent(ServicePort instance)
protected void copyInstance(ServicePort instance)
public String getName()
public boolean hasName()
public Integer getNumber()
public boolean hasNumber()
public String getProtocol()
public boolean hasProtocol()
public Integer getTargetPort()
public boolean hasTargetPort()
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.