Class V1beta2FlowSchemaSpec
java.lang.Object
io.kubernetes.client.openapi.models.V1beta2FlowSchemaSpec
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-18T15:05:57.863601Z[Etc/UTC]")
public class V1beta2FlowSchemaSpec
extends Object
FlowSchemaSpec describes how the FlowSchema's specification looks like.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRulesItem
(V1beta2PolicyRulesWithSubjects rulesItem) distinguisherMethod
(V1beta2FlowDistinguisherMethod 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
(V1beta2PriorityLevelConfigurationReference priorityLevelConfiguration) rules
(List<V1beta2PolicyRulesWithSubjects> rules) void
setDistinguisherMethod
(V1beta2FlowDistinguisherMethod distinguisherMethod) void
setMatchingPrecedence
(Integer matchingPrecedence) void
setPriorityLevelConfiguration
(V1beta2PriorityLevelConfigurationReference priorityLevelConfiguration) void
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
-
V1beta2FlowSchemaSpec
public V1beta2FlowSchemaSpec()
-
-
Method Details
-
distinguisherMethod
public V1beta2FlowSchemaSpec distinguisherMethod(V1beta2FlowDistinguisherMethod 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 V1beta2FlowSchemaSpec priorityLevelConfiguration(V1beta2PriorityLevelConfigurationReference priorityLevelConfiguration) -
getPriorityLevelConfiguration
Get priorityLevelConfiguration- Returns:
- priorityLevelConfiguration
-
setPriorityLevelConfiguration
public void setPriorityLevelConfiguration(V1beta2PriorityLevelConfigurationReference 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
-