Class V1FlowSchemaSpec
java.lang.Object
io.kubernetes.client.openapi.models.V1FlowSchemaSpec
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-05-22T21:20:49.874193Z[Etc/UTC]")
public class V1FlowSchemaSpec
extends Object
FlowSchemaSpec describes how the FlowSchema's specification looks like.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRulesItem
(V1PolicyRulesWithSubjects rulesItem) distinguisherMethod
(V1FlowDistinguisherMethod distinguisherMethod) boolean
Get distinguisherMethod`matchingPrecedence` is used to choose among the FlowSchemas that match a given request.Get priorityLevelConfigurationgetRules()
`rules` describes which requests will match this flow schema.int
hashCode()
matchingPrecedence
(Integer matchingPrecedence) priorityLevelConfiguration
(V1PriorityLevelConfigurationReference priorityLevelConfiguration) rules
(List<V1PolicyRulesWithSubjects> rules) void
setDistinguisherMethod
(V1FlowDistinguisherMethod distinguisherMethod) void
setMatchingPrecedence
(Integer matchingPrecedence) void
setPriorityLevelConfiguration
(V1PriorityLevelConfigurationReference priorityLevelConfiguration) void
setRules
(List<V1PolicyRulesWithSubjects> rules) toString()
-
Field Details
-
SERIALIZED_NAME_DISTINGUISHER_METHOD
- See Also:
-
SERIALIZED_NAME_MATCHING_PRECEDENCE
- See Also:
-
SERIALIZED_NAME_PRIORITY_LEVEL_CONFIGURATION
- See Also:
-
SERIALIZED_NAME_RULES
- See Also:
-
-
Constructor Details
-
V1FlowSchemaSpec
public V1FlowSchemaSpec()
-
-
Method Details
-
distinguisherMethod
-
getDistinguisherMethod
Get distinguisherMethod- Returns:
- distinguisherMethod
-
setDistinguisherMethod
-
matchingPrecedence
-
getMatchingPrecedence
`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.- Returns:
- matchingPrecedence
-
setMatchingPrecedence
-
priorityLevelConfiguration
public V1FlowSchemaSpec priorityLevelConfiguration(V1PriorityLevelConfigurationReference priorityLevelConfiguration) -
getPriorityLevelConfiguration
Get priorityLevelConfiguration- Returns:
- priorityLevelConfiguration
-
setPriorityLevelConfiguration
public void setPriorityLevelConfiguration(V1PriorityLevelConfigurationReference priorityLevelConfiguration) -
rules
-
addRulesItem
-
getRules
`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.- Returns:
- rules
-
setRules
-
equals
-
hashCode
public int hashCode() -
toString
-