Class TLSRouteRule
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.gatewayapi.v1alpha2.TLSRouteRule
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<TLSRouteRuleBuilder>
,io.fabric8.kubernetes.api.model.KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class TLSRouteRule extends Object implements io.fabric8.kubernetes.api.builder.Editable<TLSRouteRuleBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
TLSRouteRule is the configuration for a given rule.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TLSRouteRule()
No args constructor for use in serializationTLSRouteRule(List<BackendRef> backendRefs, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TLSRouteRuleBuilder
edit()
Map<String,Object>
getAdditionalProperties()
List<BackendRef>
getBackendRefs()
BackendRefs defines the backend(s) where matching requests should be sent.String
getName()
Name is the name of the route rule.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setBackendRefs(List<BackendRef> backendRefs)
BackendRefs defines the backend(s) where matching requests should be sent.void
setName(String name)
Name is the name of the route rule.TLSRouteRuleBuilder
toBuilder()
-
-
-
Constructor Detail
-
TLSRouteRule
public TLSRouteRule()
No args constructor for use in serialization
-
TLSRouteRule
public TLSRouteRule(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 rule performs no forwarding; if no filters are specified that would result in a response being sent, the underlying implementation must actively reject request attempts to this backend, by rejecting the connection or returning a 500 status code. Request rejections must respect weight; if an invalid backend is requested to have 80% of requests, then 80% of requests 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 rule performs no forwarding; if no filters are specified that would result in a response being sent, the underlying implementation must actively reject request attempts to this backend, by rejecting the connection or returning a 500 status code. Request rejections must respect weight; if an invalid backend is requested to have 80% of requests, then 80% of requests 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
-
edit
public TLSRouteRuleBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<TLSRouteRuleBuilder>
-
toBuilder
public TLSRouteRuleBuilder toBuilder()
-
-