Class TCPRouteRule

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<TCPRouteRuleBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class TCPRouteRule
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<TCPRouteRuleBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    TCPRouteRule is the configuration for a given rule.
    See Also:
    Serialized Form
    • Constructor Detail

      • TCPRouteRule

        public TCPRouteRule()
        No args constructor for use in serialization
    • Method Detail

      • getBackendRefs

        public List<BackendRef> getBackendRefs()
        BackendRefs defines the backend(s) where matching requests should be sent. If unspecified or invalid (refers to a non-existent resource or a Service with no endpoints), the underlying implementation MUST actively reject connection attempts to this backend. Connection rejections must respect weight; if an invalid backend is requested to have 80% of connections, then 80% of connections must be rejected instead.


        Support: Core for Kubernetes Service


        Support: Extended for Kubernetes ServiceImport


        Support: Implementation-specific for any other resource


        Support for weight: Extended

      • setBackendRefs

        public void setBackendRefs​(List<BackendRef> backendRefs)
        BackendRefs defines the backend(s) where matching requests should be sent. If unspecified or invalid (refers to a non-existent resource or a Service with no endpoints), the underlying implementation MUST actively reject connection attempts to this backend. Connection rejections must respect weight; if an invalid backend is requested to have 80% of connections, then 80% of connections must be rejected instead.


        Support: Core for Kubernetes Service


        Support: Extended for Kubernetes ServiceImport


        Support: Implementation-specific for any other resource


        Support for weight: Extended

      • getName

        public String getName()
        Name is the name of the route rule. This name MUST be unique within a Route if it is set.


        Support: Extended

      • setName

        public void setName​(String name)
        Name is the name of the route rule. This name MUST be unique within a Route if it is set.


        Support: Extended

      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)