Class UDPRouteRule
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.gatewayapi.v1alpha2.UDPRouteRule
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<UDPRouteRuleBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class UDPRouteRule extends Object implements io.fabric8.kubernetes.api.builder.Editable<UDPRouteRuleBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
UDPRouteRule is the configuration for a given rule.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UDPRouteRule()No args constructor for use in serializationUDPRouteRule(List<BackendRef> backendRefs, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UDPRouteRuleBuilderedit()Map<String,Object>getAdditionalProperties()List<BackendRef>getBackendRefs()BackendRefs defines the backend(s) where matching requests should be sent.StringgetName()Name is the name of the route rule.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetBackendRefs(List<BackendRef> backendRefs)BackendRefs defines the backend(s) where matching requests should be sent.voidsetName(String name)Name is the name of the route rule.UDPRouteRuleBuildertoBuilder()
-
-
-
Constructor Detail
-
UDPRouteRule
public UDPRouteRule()
No args constructor for use in serialization
-
UDPRouteRule
public UDPRouteRule(List<BackendRef> backendRefs, String name)
-
-
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. Packet drops must respect weight; if an invalid backend is requested to have 80% of the packets, then 80% of packets must be dropped 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. Packet drops must respect weight; if an invalid backend is requested to have 80% of the packets, then 80% of packets must be dropped 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
-
edit
public UDPRouteRuleBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<UDPRouteRuleBuilder>
-
toBuilder
public UDPRouteRuleBuilder toBuilder()
-
-