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 Details

  • Constructor Details

  • Method Details

    • getDistinguisherMethod

      public V1beta3FlowDistinguisherMethod getDistinguisherMethod()
      Returns:
      the distinguisherMethod property value
    • setDistinguisherMethod

      public void setDistinguisherMethod(V1beta3FlowDistinguisherMethod distinguisherMethod)
      Set the distinguisherMethod property value
    • distinguisherMethod

      public V1beta3FlowSchemaSpec distinguisherMethod(V1beta3FlowDistinguisherMethod distinguisherMethod)
      Set distinguisherMethod in a chainable fashion.
      Returns:
      The same instance of V1beta3FlowSchemaSpec for chaining.
    • getMatchingPrecedence

      public Integer 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

      public void setMatchingPrecedence(Integer matchingPrecedence)
      Set the matchingPrecedence property value
    • matchingPrecedence

      public V1beta3FlowSchemaSpec matchingPrecedence(Integer matchingPrecedence)
      Set matchingPrecedence in a chainable fashion.
      Returns:
      The same instance of V1beta3FlowSchemaSpec for chaining.
    • getPriorityLevelConfiguration

      public V1beta3PriorityLevelConfigurationReference getPriorityLevelConfiguration()
      Returns:
      the priorityLevelConfiguration property value
    • setPriorityLevelConfiguration

      public void setPriorityLevelConfiguration(V1beta3PriorityLevelConfigurationReference priorityLevelConfiguration)
      Set the priorityLevelConfiguration property value
    • priorityLevelConfiguration

      public V1beta3FlowSchemaSpec priorityLevelConfiguration(V1beta3PriorityLevelConfigurationReference priorityLevelConfiguration)
      Set priorityLevelConfiguration in a chainable fashion.
      Returns:
      The same instance of V1beta3FlowSchemaSpec for chaining.
    • getRules

      public List<@Valid V1beta3PolicyRulesWithSubjects> 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

      public void setRules(List<@Valid V1beta3PolicyRulesWithSubjects> rules)
      Set the rules property value
    • rules

      Set rules in a chainable fashion.
      Returns:
      The same instance of V1beta3FlowSchemaSpec for chaining.
    • addrulesItem

      public V1beta3FlowSchemaSpec addrulesItem(V1beta3PolicyRulesWithSubjects rulesItem)
      Add an item to the rules property in a chainable fashion.
      Returns:
      The same instance of V1beta3FlowSchemaSpec for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object