Class V1beta3FlowSchemaSpec
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1beta3FlowSchemaSpec
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1beta3FlowSchemaSpec
extends Object
FlowSchemaSpec describes how the FlowSchema's specification looks like.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionV1beta3FlowSchemaSpec
(V1beta3PriorityLevelConfigurationReference priorityLevelConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionaddrulesItem
(V1beta3PolicyRulesWithSubjects rulesItem) Add an item to the rules property in a chainable fashion.distinguisherMethod
(V1beta3FlowDistinguisherMethod distinguisherMethod) Set distinguisherMethod in a chainable fashion.boolean
`matchingPrecedence` is used to choose among the FlowSchemas that match a given request.List<@Valid V1beta3PolicyRulesWithSubjects>
getRules()
`rules` describes which requests will match this flow schema.int
hashCode()
matchingPrecedence
(Integer matchingPrecedence) Set matchingPrecedence in a chainable fashion.priorityLevelConfiguration
(V1beta3PriorityLevelConfigurationReference priorityLevelConfiguration) Set priorityLevelConfiguration in a chainable fashion.rules
(List<@Valid V1beta3PolicyRulesWithSubjects> rules) Set rules in a chainable fashion.void
setDistinguisherMethod
(V1beta3FlowDistinguisherMethod distinguisherMethod) Set the distinguisherMethod property valuevoid
setMatchingPrecedence
(Integer matchingPrecedence) Set the matchingPrecedence property valuevoid
setPriorityLevelConfiguration
(V1beta3PriorityLevelConfigurationReference priorityLevelConfiguration) Set the priorityLevelConfiguration property valuevoid
setRules
(List<@Valid V1beta3PolicyRulesWithSubjects> rules) Set the rules property valuetoString()
-
Field Details
-
JSON_PROPERTY_PRIORITY_LEVEL_CONFIGURATION
- See Also:
-
JSON_PROPERTY_DISTINGUISHER_METHOD
- See Also:
-
JSON_PROPERTY_MATCHING_PRECEDENCE
- See Also:
-
JSON_PROPERTY_RULES
- See Also:
-
-
Constructor Details
-
V1beta3FlowSchemaSpec
-
-
Method Details
-
getPriorityLevelConfiguration
- Returns:
- the priorityLevelConfiguration property value
-
setPriorityLevelConfiguration
public void setPriorityLevelConfiguration(V1beta3PriorityLevelConfigurationReference priorityLevelConfiguration) Set the priorityLevelConfiguration property value- Parameters:
priorityLevelConfiguration
- property value to set
-
priorityLevelConfiguration
public V1beta3FlowSchemaSpec priorityLevelConfiguration(V1beta3PriorityLevelConfigurationReference priorityLevelConfiguration) Set priorityLevelConfiguration in a chainable fashion.- Returns:
- The same instance of V1beta3FlowSchemaSpec for chaining.
-
getDistinguisherMethod
- Returns:
- the distinguisherMethod property value
-
setDistinguisherMethod
Set the distinguisherMethod property value- Parameters:
distinguisherMethod
- property value to set
-
distinguisherMethod
public V1beta3FlowSchemaSpec distinguisherMethod(V1beta3FlowDistinguisherMethod distinguisherMethod) Set distinguisherMethod in a chainable fashion.- Returns:
- The same instance of V1beta3FlowSchemaSpec for chaining.
-
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:
- the matchingPrecedence property value
-
setMatchingPrecedence
Set the matchingPrecedence property value- Parameters:
matchingPrecedence
- property value to set
-
matchingPrecedence
Set matchingPrecedence in a chainable fashion.- Returns:
- The same instance of V1beta3FlowSchemaSpec for chaining.
-
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:
- the rules property value
-
setRules
Set the rules property value- Parameters:
rules
- property value to set
-
rules
Set rules in a chainable fashion.- Returns:
- The same instance of V1beta3FlowSchemaSpec for chaining.
-
addrulesItem
Add an item to the rules property in a chainable fashion.- Returns:
- The same instance of V1beta3FlowSchemaSpec for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-