Class V1ServicePortFluentImpl<A extends V1ServicePortFluent<A>>
java.lang.Object
io.kubernetes.client.fluent.BaseFluent<A>
io.kubernetes.client.openapi.models.V1ServicePortFluentImpl<A>
- All Implemented Interfaces:
Fluent<A>
,Visitable<A>
,V1ServicePortFluent<A>
- Direct Known Subclasses:
V1ServicePortBuilder
public class V1ServicePortFluentImpl<A extends V1ServicePortFluent<A>>
extends BaseFluent<A>
implements V1ServicePortFluent<A>
Generated
-
Field Summary
Fields inherited from class io.kubernetes.client.fluent.BaseFluent
_visitables, VISIT
-
Constructor Summary
ConstructorsConstructorDescriptionV1ServicePortFluentImpl
(io.kubernetes.client.openapi.models.V1ServicePort instance) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
getPort()
io.kubernetes.client.custom.IntOrString
int
hashCode()
hasName()
hasPort()
toString()
withAppProtocol
(String appProtocol) withNewTargetPort
(int value) withNewTargetPort
(String value) withNodePort
(Integer nodePort) withProtocol
(String protocol) withTargetPort
(io.kubernetes.client.custom.IntOrString targetPort) Methods inherited from class io.kubernetes.client.fluent.BaseFluent
accept, accept, accept, accept, aggregate, aggregate, build, build, builderOf
-
Constructor Details
-
V1ServicePortFluentImpl
public V1ServicePortFluentImpl() -
V1ServicePortFluentImpl
public V1ServicePortFluentImpl(io.kubernetes.client.openapi.models.V1ServicePort instance)
-
-
Method Details
-
getAppProtocol
- Specified by:
getAppProtocol
in interfaceV1ServicePortFluent<A extends V1ServicePortFluent<A>>
-
withAppProtocol
- Specified by:
withAppProtocol
in interfaceV1ServicePortFluent<A extends V1ServicePortFluent<A>>
-
hasAppProtocol
- Specified by:
hasAppProtocol
in interfaceV1ServicePortFluent<A extends V1ServicePortFluent<A>>
-
getName
- Specified by:
getName
in interfaceV1ServicePortFluent<A extends V1ServicePortFluent<A>>
-
withName
- Specified by:
withName
in interfaceV1ServicePortFluent<A extends V1ServicePortFluent<A>>
-
hasName
- Specified by:
hasName
in interfaceV1ServicePortFluent<A extends V1ServicePortFluent<A>>
-
getNodePort
- Specified by:
getNodePort
in interfaceV1ServicePortFluent<A extends V1ServicePortFluent<A>>
-
withNodePort
- Specified by:
withNodePort
in interfaceV1ServicePortFluent<A extends V1ServicePortFluent<A>>
-
hasNodePort
- Specified by:
hasNodePort
in interfaceV1ServicePortFluent<A extends V1ServicePortFluent<A>>
-
getPort
- Specified by:
getPort
in interfaceV1ServicePortFluent<A extends V1ServicePortFluent<A>>
-
withPort
- Specified by:
withPort
in interfaceV1ServicePortFluent<A extends V1ServicePortFluent<A>>
-
hasPort
- Specified by:
hasPort
in interfaceV1ServicePortFluent<A extends V1ServicePortFluent<A>>
-
getProtocol
- Specified by:
getProtocol
in interfaceV1ServicePortFluent<A extends V1ServicePortFluent<A>>
-
withProtocol
- Specified by:
withProtocol
in interfaceV1ServicePortFluent<A extends V1ServicePortFluent<A>>
-
hasProtocol
- Specified by:
hasProtocol
in interfaceV1ServicePortFluent<A extends V1ServicePortFluent<A>>
-
getTargetPort
public io.kubernetes.client.custom.IntOrString getTargetPort()- Specified by:
getTargetPort
in interfaceV1ServicePortFluent<A extends V1ServicePortFluent<A>>
-
withTargetPort
- Specified by:
withTargetPort
in interfaceV1ServicePortFluent<A extends V1ServicePortFluent<A>>
-
hasTargetPort
- Specified by:
hasTargetPort
in interfaceV1ServicePortFluent<A extends V1ServicePortFluent<A>>
-
withNewTargetPort
- Specified by:
withNewTargetPort
in interfaceV1ServicePortFluent<A extends V1ServicePortFluent<A>>
-
withNewTargetPort
- Specified by:
withNewTargetPort
in interfaceV1ServicePortFluent<A extends V1ServicePortFluent<A>>
-
equals
- Overrides:
equals
in classBaseFluent<A extends V1ServicePortFluent<A>>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBaseFluent<A extends V1ServicePortFluent<A>>
-
toString
-