Class V1beta2FlowSchemaSpec

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1beta2FlowSchemaSpec

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1beta2FlowSchemaSpec extends Object
FlowSchemaSpec describes how the FlowSchema's specification looks like.
  • Field Details

  • Constructor Details

  • Method Details

    • getDistinguisherMethod

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

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

      public V1beta2FlowSchemaSpec distinguisherMethod(V1beta2FlowDistinguisherMethod distinguisherMethod)
      Set distinguisherMethod in a chainable fashion.
      Returns:
      The same instance of V1beta2FlowSchemaSpec 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 V1beta2FlowSchemaSpec matchingPrecedence(Integer matchingPrecedence)
      Set matchingPrecedence in a chainable fashion.
      Returns:
      The same instance of V1beta2FlowSchemaSpec for chaining.
    • getPriorityLevelConfiguration

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

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

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

      public List<@Valid V1beta2PolicyRulesWithSubjects> 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 V1beta2PolicyRulesWithSubjects> rules)
      Set the rules property value
    • rules

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

      public V1beta2FlowSchemaSpec addrulesItem(V1beta2PolicyRulesWithSubjects rulesItem)
      Add an item to the rules property in a chainable fashion.
      Returns:
      The same instance of V1beta2FlowSchemaSpec 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