Package io.fabric8.kubernetes.api.model
Class ServicePortBuilder
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.ServicePortFluentImpl<ServicePortBuilder>
-
- io.fabric8.kubernetes.api.model.ServicePortBuilder
-
- All Implemented Interfaces:
Builder<ServicePort>,Fluent<ServicePortBuilder>,Visitable<ServicePortBuilder>,VisitableBuilder<ServicePort,ServicePortBuilder>,ServicePortFluent<ServicePortBuilder>
public class ServicePortBuilder extends ServicePortFluentImpl<ServicePortBuilder> implements VisitableBuilder<ServicePort,ServicePortBuilder>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.fabric8.kubernetes.api.model.ServicePortFluentImpl
ServicePortFluentImpl.TargetPortNestedImpl<N>
-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.ServicePortFluent
ServicePortFluent.TargetPortNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description ServicePortBuilder()ServicePortBuilder(ServicePort instance)ServicePortBuilder(ServicePortFluent<?> fluent)ServicePortBuilder(ServicePortFluent<?> fluent, ServicePort instance)ServicePortBuilder(ServicePortFluent<?> fluent, ServicePort instance, Boolean validationEnabled)ServicePortBuilder(ServicePortFluent<?> fluent, Boolean validationEnabled)ServicePortBuilder(ServicePort instance, Boolean validationEnabled)ServicePortBuilder(Boolean validationEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServicePortbuild()booleanequals(Object o)inthashCode()-
Methods inherited from class io.fabric8.kubernetes.api.model.ServicePortFluentImpl
buildTargetPort, editOrNewTargetPort, editOrNewTargetPortLike, editTargetPort, getAppProtocol, getName, getNodePort, getPort, getProtocol, getTargetPort, hasAppProtocol, hasName, hasNodePort, hasPort, hasProtocol, hasTargetPort, withAppProtocol, withName, withNewAppProtocol, withNewAppProtocol, withNewAppProtocol, withNewName, withNewName, withNewName, withNewProtocol, withNewProtocol, withNewProtocol, withNewTargetPort, withNewTargetPort, withNewTargetPort, withNewTargetPortLike, withNodePort, withPort, withProtocol, withTargetPort
-
Methods inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
accept, accept, aggregate, aggregate, build, build, builderOf
-
-
-
-
Constructor Detail
-
ServicePortBuilder
public ServicePortBuilder()
-
ServicePortBuilder
public ServicePortBuilder(Boolean validationEnabled)
-
ServicePortBuilder
public ServicePortBuilder(ServicePortFluent<?> fluent)
-
ServicePortBuilder
public ServicePortBuilder(ServicePortFluent<?> fluent, Boolean validationEnabled)
-
ServicePortBuilder
public ServicePortBuilder(ServicePortFluent<?> fluent, ServicePort instance)
-
ServicePortBuilder
public ServicePortBuilder(ServicePortFluent<?> fluent, ServicePort instance, Boolean validationEnabled)
-
ServicePortBuilder
public ServicePortBuilder(ServicePort instance)
-
ServicePortBuilder
public ServicePortBuilder(ServicePort instance, Boolean validationEnabled)
-
-
Method Detail
-
build
public ServicePort build()
- Specified by:
buildin interfaceBuilder<ServicePort>
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classServicePortFluentImpl<ServicePortBuilder>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classServicePortFluentImpl<ServicePortBuilder>
-
-