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<@NotNull String> verbs)
  • Method Details

    • getVerbs

      public List<@NotNull 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<@NotNull String> verbs)
      Set the verbs property value
      Parameters:
      verbs - property value to set
    • verbs

      public V1NonResourceRule verbs(List<@NotNull 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.
    • getNonResourceURLs

      public List<@NotNull 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<@NotNull String> nonResourceURLs)
      Set the nonResourceURLs property value
      Parameters:
      nonResourceURLs - property value to set
    • nonResourceURLs

      public V1NonResourceRule nonResourceURLs(List<@NotNull 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.
    • 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