Package io.fabric8.openshift.api.model
Class RoutePort
- java.lang.Object
-
- io.fabric8.openshift.api.model.RoutePort
-
- All Implemented Interfaces:
Editable<RoutePortBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class RoutePort extends Object implements Editable<RoutePortBuilder>, KubernetesResource
RoutePort defines a port mapping from a router to an endpoint in the service endpoints.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RoutePort()No args constructor for use in serializationRoutePort(IntOrString targetPort)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoutePortBuilderedit()Map<String,Object>getAdditionalProperties()IntOrStringgetTargetPort()RoutePort defines a port mapping from a router to an endpoint in the service endpoints.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetTargetPort(IntOrString targetPort)RoutePort defines a port mapping from a router to an endpoint in the service endpoints.RoutePortBuildertoBuilder()
-
-
-
Constructor Detail
-
RoutePort
public RoutePort()
No args constructor for use in serialization
-
RoutePort
public RoutePort(IntOrString targetPort)
-
-
Method Detail
-
getTargetPort
public IntOrString getTargetPort()
RoutePort defines a port mapping from a router to an endpoint in the service endpoints.
-
setTargetPort
public void setTargetPort(IntOrString targetPort)
RoutePort defines a port mapping from a router to an endpoint in the service endpoints.
-
edit
public RoutePortBuilder edit()
- Specified by:
editin interfaceEditable<RoutePortBuilder>
-
toBuilder
public RoutePortBuilder toBuilder()
-
-