Class V1SubjectRulesReviewStatus

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1SubjectRulesReviewStatus extends Object
SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.
  • Field Details

  • Constructor Details

  • Method Details

    • getEvaluationError

      public String getEvaluationError()
      EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete.
      Returns:
      the evaluationError property value
    • setEvaluationError

      public void setEvaluationError(String evaluationError)
      Set the evaluationError property value
    • evaluationError

      public V1SubjectRulesReviewStatus evaluationError(String evaluationError)
      Set evaluationError in a chainable fashion.
      Returns:
      The same instance of V1SubjectRulesReviewStatus for chaining.
    • getIncomplete

      public Boolean getIncomplete()
      Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.
      Returns:
      the incomplete property value
    • setIncomplete

      public void setIncomplete(Boolean incomplete)
      Set the incomplete property value
    • incomplete

      public V1SubjectRulesReviewStatus incomplete(Boolean incomplete)
      Set incomplete in a chainable fashion.
      Returns:
      The same instance of V1SubjectRulesReviewStatus for chaining.
    • getNonResourceRules

      public List<@Valid V1NonResourceRule> getNonResourceRules()
      NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
      Returns:
      the nonResourceRules property value
    • setNonResourceRules

      public void setNonResourceRules(List<@Valid V1NonResourceRule> nonResourceRules)
      Set the nonResourceRules property value
    • nonResourceRules

      public V1SubjectRulesReviewStatus nonResourceRules(List<@Valid V1NonResourceRule> nonResourceRules)
      Set nonResourceRules in a chainable fashion.
      Returns:
      The same instance of V1SubjectRulesReviewStatus for chaining.
    • addnonResourceRulesItem

      public V1SubjectRulesReviewStatus addnonResourceRulesItem(V1NonResourceRule nonResourceRulesItem)
      Add an item to the nonResourceRules property in a chainable fashion.
      Returns:
      The same instance of V1SubjectRulesReviewStatus for chaining.
    • getResourceRules

      public List<@Valid V1ResourceRule> getResourceRules()
      ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
      Returns:
      the resourceRules property value
    • setResourceRules

      public void setResourceRules(List<@Valid V1ResourceRule> resourceRules)
      Set the resourceRules property value
    • resourceRules

      public V1SubjectRulesReviewStatus resourceRules(List<@Valid V1ResourceRule> resourceRules)
      Set resourceRules in a chainable fashion.
      Returns:
      The same instance of V1SubjectRulesReviewStatus for chaining.
    • addresourceRulesItem

      public V1SubjectRulesReviewStatus addresourceRulesItem(V1ResourceRule resourceRulesItem)
      Add an item to the resourceRules property in a chainable fashion.
      Returns:
      The same instance of V1SubjectRulesReviewStatus 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