Class V1ResourceAttributes

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1ResourceAttributes extends Object
ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface
  • Field Details

  • Constructor Details

    • V1ResourceAttributes

      public V1ResourceAttributes()
  • Method Details

    • getGroup

      public String getGroup()
      Group is the API Group of the Resource. \"*\" means all.
      Returns:
      the group property value
    • setGroup

      public void setGroup(String group)
      Set the group property value
    • group

      public V1ResourceAttributes group(String group)
      Set group in a chainable fashion.
      Returns:
      The same instance of V1ResourceAttributes for chaining.
    • getName

      public String getName()
      Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.
      Returns:
      the name property value
    • setName

      public void setName(String name)
      Set the name property value
    • name

      public V1ResourceAttributes name(String name)
      Set name in a chainable fashion.
      Returns:
      The same instance of V1ResourceAttributes for chaining.
    • getNamespace

      public String getNamespace()
      Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview
      Returns:
      the namespace property value
    • setNamespace

      public void setNamespace(String namespace)
      Set the namespace property value
    • namespace

      public V1ResourceAttributes namespace(String namespace)
      Set namespace in a chainable fashion.
      Returns:
      The same instance of V1ResourceAttributes for chaining.
    • getResource

      public String getResource()
      Resource is one of the existing resource types. \"*\" means all.
      Returns:
      the resource property value
    • setResource

      public void setResource(String resource)
      Set the resource property value
    • resource

      public V1ResourceAttributes resource(String resource)
      Set resource in a chainable fashion.
      Returns:
      The same instance of V1ResourceAttributes for chaining.
    • getSubresource

      public String getSubresource()
      Subresource is one of the existing resource types. \"\" means none.
      Returns:
      the subresource property value
    • setSubresource

      public void setSubresource(String subresource)
      Set the subresource property value
    • subresource

      public V1ResourceAttributes subresource(String subresource)
      Set subresource in a chainable fashion.
      Returns:
      The same instance of V1ResourceAttributes for chaining.
    • getVerb

      public String getVerb()
      Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all.
      Returns:
      the verb property value
    • setVerb

      public void setVerb(String verb)
      Set the verb property value
    • verb

      public V1ResourceAttributes verb(String verb)
      Set verb in a chainable fashion.
      Returns:
      The same instance of V1ResourceAttributes for chaining.
    • getVersion

      public String getVersion()
      Version is the API Version of the Resource. \"*\" means all.
      Returns:
      the version property value
    • setVersion

      public void setVersion(String version)
      Set the version property value
    • version

      public V1ResourceAttributes version(String version)
      Set version in a chainable fashion.
      Returns:
      The same instance of V1ResourceAttributes 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