Class V1NonResourceRule

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1NonResourceRule extends Object
NonResourceRule holds information that describes a rule for the non-resource
  • Field Details

  • Constructor Details

    • V1NonResourceRule

      public V1NonResourceRule(List<String> verbs)
  • Method Details

    • getNonResourceURLs

      public List<String> getNonResourceURLs()
      NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. \"*\" means all.
      Returns:
      the nonResourceURLs property value
    • setNonResourceURLs

      public void setNonResourceURLs(List<String> nonResourceURLs)
      Set the nonResourceURLs property value
    • nonResourceURLs

      public V1NonResourceRule nonResourceURLs(List<String> nonResourceURLs)
      Set nonResourceURLs in a chainable fashion.
      Returns:
      The same instance of V1NonResourceRule for chaining.
    • addnonResourceURLsItem

      public V1NonResourceRule addnonResourceURLsItem(String nonResourceURLsItem)
      Add an item to the nonResourceURLs property in a chainable fashion.
      Returns:
      The same instance of V1NonResourceRule for chaining.
    • getVerbs

      public List<String> getVerbs()
      Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all.
      Returns:
      the verbs property value
    • setVerbs

      public void setVerbs(List<String> verbs)
      Set the verbs property value
    • verbs

      public V1NonResourceRule verbs(List<String> verbs)
      Set verbs in a chainable fashion.
      Returns:
      The same instance of V1NonResourceRule for chaining.
    • addverbsItem

      public V1NonResourceRule addverbsItem(String verbsItem)
      Add an item to the verbs property in a chainable fashion.
      Returns:
      The same instance of V1NonResourceRule 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