public class ServicePortFluentImpl<T extends ServicePortFluent<T>> extends BaseFluent<T> implements ServicePortFluent<T>
Modifier and Type | Class and Description |
---|---|
class |
ServicePortFluentImpl.TargetPortNestedImpl<N> |
ServicePortFluent.TargetPortNested<N>
_visitables
Constructor and Description |
---|
ServicePortFluentImpl() |
ServicePortFluentImpl(ServicePort instance) |
Modifier and Type | Method and Description |
---|---|
T |
addToAdditionalProperties(Map<String,Object> map) |
T |
addToAdditionalProperties(String key,
Object value) |
ServicePortFluent.TargetPortNested<T> |
editTargetPort() |
boolean |
equals(Object o) |
Map<String,Object> |
getAdditionalProperties() |
String |
getName() |
Integer |
getNodePort() |
Integer |
getPort() |
String |
getProtocol() |
IntOrString |
getTargetPort() |
T |
removeFromAdditionalProperties(Map<String,Object> map) |
T |
removeFromAdditionalProperties(String key) |
T |
withAdditionalProperties(Map<String,Object> additionalProperties) |
T |
withName(String name) |
ServicePortFluent.TargetPortNested<T> |
withNewTargetPort() |
T |
withNewTargetPort(Integer intVal) |
T |
withNewTargetPort(String strVal) |
ServicePortFluent.TargetPortNested<T> |
withNewTargetPortLike(IntOrString item) |
T |
withNodePort(Integer nodePort) |
T |
withPort(Integer port) |
T |
withProtocol(String protocol) |
T |
withTargetPort(IntOrString targetPort) |
public ServicePortFluentImpl()
public ServicePortFluentImpl(ServicePort instance)
public String getName()
getName
in interface ServicePortFluent<T extends ServicePortFluent<T>>
public T withName(String name)
withName
in interface ServicePortFluent<T extends ServicePortFluent<T>>
public Integer getNodePort()
getNodePort
in interface ServicePortFluent<T extends ServicePortFluent<T>>
public T withNodePort(Integer nodePort)
withNodePort
in interface ServicePortFluent<T extends ServicePortFluent<T>>
public Integer getPort()
getPort
in interface ServicePortFluent<T extends ServicePortFluent<T>>
public T withPort(Integer port)
withPort
in interface ServicePortFluent<T extends ServicePortFluent<T>>
public String getProtocol()
getProtocol
in interface ServicePortFluent<T extends ServicePortFluent<T>>
public T withProtocol(String protocol)
withProtocol
in interface ServicePortFluent<T extends ServicePortFluent<T>>
public IntOrString getTargetPort()
getTargetPort
in interface ServicePortFluent<T extends ServicePortFluent<T>>
public T withTargetPort(IntOrString targetPort)
withTargetPort
in interface ServicePortFluent<T extends ServicePortFluent<T>>
public ServicePortFluent.TargetPortNested<T> withNewTargetPort()
withNewTargetPort
in interface ServicePortFluent<T extends ServicePortFluent<T>>
public ServicePortFluent.TargetPortNested<T> withNewTargetPortLike(IntOrString item)
withNewTargetPortLike
in interface ServicePortFluent<T extends ServicePortFluent<T>>
public ServicePortFluent.TargetPortNested<T> editTargetPort()
editTargetPort
in interface ServicePortFluent<T extends ServicePortFluent<T>>
public T withNewTargetPort(String strVal)
withNewTargetPort
in interface ServicePortFluent<T extends ServicePortFluent<T>>
public T withNewTargetPort(Integer intVal)
withNewTargetPort
in interface ServicePortFluent<T extends ServicePortFluent<T>>
public T addToAdditionalProperties(String key, Object value)
addToAdditionalProperties
in interface ServicePortFluent<T extends ServicePortFluent<T>>
public T addToAdditionalProperties(Map<String,Object> map)
addToAdditionalProperties
in interface ServicePortFluent<T extends ServicePortFluent<T>>
public T removeFromAdditionalProperties(String key)
removeFromAdditionalProperties
in interface ServicePortFluent<T extends ServicePortFluent<T>>
public T removeFromAdditionalProperties(Map<String,Object> map)
removeFromAdditionalProperties
in interface ServicePortFluent<T extends ServicePortFluent<T>>
public Map<String,Object> getAdditionalProperties()
getAdditionalProperties
in interface ServicePortFluent<T extends ServicePortFluent<T>>
public T withAdditionalProperties(Map<String,Object> additionalProperties)
withAdditionalProperties
in interface ServicePortFluent<T extends ServicePortFluent<T>>
Copyright © 2011–2015 Red Hat. All rights reserved.