public class V1ServicePortFluentImpl<A extends V1ServicePortFluent<A>> extends BaseFluent<A> implements V1ServicePortFluent<A>
_visitables
Constructor and Description |
---|
V1ServicePortFluentImpl() |
V1ServicePortFluentImpl(V1ServicePort instance) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getName() |
Integer |
getNodePort() |
Integer |
getPort() |
String |
getProtocol() |
IntOrString |
getTargetPort() |
Boolean |
hasName() |
Boolean |
hasNodePort() |
Boolean |
hasPort() |
Boolean |
hasProtocol() |
Boolean |
hasTargetPort() |
A |
withName(String name) |
A |
withNewNodePort(int arg1) |
A |
withNewNodePort(String arg1) |
A |
withNewPort(int arg1) |
A |
withNewPort(String arg1) |
A |
withNewTargetPort(int value) |
A |
withNewTargetPort(String value) |
A |
withNodePort(Integer nodePort) |
A |
withPort(Integer port) |
A |
withProtocol(String protocol) |
A |
withTargetPort(IntOrString targetPort) |
public V1ServicePortFluentImpl()
public V1ServicePortFluentImpl(V1ServicePort instance)
public String getName()
getName
in interface V1ServicePortFluent<A extends V1ServicePortFluent<A>>
public A withName(String name)
withName
in interface V1ServicePortFluent<A extends V1ServicePortFluent<A>>
public Boolean hasName()
hasName
in interface V1ServicePortFluent<A extends V1ServicePortFluent<A>>
public Integer getNodePort()
getNodePort
in interface V1ServicePortFluent<A extends V1ServicePortFluent<A>>
public A withNodePort(Integer nodePort)
withNodePort
in interface V1ServicePortFluent<A extends V1ServicePortFluent<A>>
public Boolean hasNodePort()
hasNodePort
in interface V1ServicePortFluent<A extends V1ServicePortFluent<A>>
public A withNewNodePort(int arg1)
withNewNodePort
in interface V1ServicePortFluent<A extends V1ServicePortFluent<A>>
public A withNewNodePort(String arg1)
withNewNodePort
in interface V1ServicePortFluent<A extends V1ServicePortFluent<A>>
public Integer getPort()
getPort
in interface V1ServicePortFluent<A extends V1ServicePortFluent<A>>
public A withPort(Integer port)
withPort
in interface V1ServicePortFluent<A extends V1ServicePortFluent<A>>
public Boolean hasPort()
hasPort
in interface V1ServicePortFluent<A extends V1ServicePortFluent<A>>
public A withNewPort(int arg1)
withNewPort
in interface V1ServicePortFluent<A extends V1ServicePortFluent<A>>
public A withNewPort(String arg1)
withNewPort
in interface V1ServicePortFluent<A extends V1ServicePortFluent<A>>
public String getProtocol()
getProtocol
in interface V1ServicePortFluent<A extends V1ServicePortFluent<A>>
public A withProtocol(String protocol)
withProtocol
in interface V1ServicePortFluent<A extends V1ServicePortFluent<A>>
public Boolean hasProtocol()
hasProtocol
in interface V1ServicePortFluent<A extends V1ServicePortFluent<A>>
public IntOrString getTargetPort()
getTargetPort
in interface V1ServicePortFluent<A extends V1ServicePortFluent<A>>
public A withTargetPort(IntOrString targetPort)
withTargetPort
in interface V1ServicePortFluent<A extends V1ServicePortFluent<A>>
public Boolean hasTargetPort()
hasTargetPort
in interface V1ServicePortFluent<A extends V1ServicePortFluent<A>>
public A withNewTargetPort(String value)
withNewTargetPort
in interface V1ServicePortFluent<A extends V1ServicePortFluent<A>>
public A withNewTargetPort(int value)
withNewTargetPort
in interface V1ServicePortFluent<A extends V1ServicePortFluent<A>>
Copyright © 2019. All rights reserved.