Class ResourceAttributes

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<ResourceAttributesBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ResourceAttributes
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ResourceAttributesBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface
    See Also:
    Serialized Form
    • Constructor Detail

      • ResourceAttributes

        public ResourceAttributes()
        No args constructor for use in serialization
    • Method Detail

      • getGroup

        public String getGroup()
        Group is the API Group of the Resource. "*" means all.
      • setGroup

        public void setGroup​(String group)
        Group is the API Group of the Resource. "*" means all.
      • getName

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

        public void setName​(String name)
        Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.
      • 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
      • setNamespace

        public void setNamespace​(String namespace)
        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
      • getResource

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

        public void setResource​(String resource)
        Resource is one of the existing resource types. "*" means all.
      • getSubresource

        public String getSubresource()
        Subresource is one of the existing resource types. "" means none.
      • setSubresource

        public void setSubresource​(String subresource)
        Subresource is one of the existing resource types. "" means none.
      • getVerb

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

        public void setVerb​(String verb)
        Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all.
      • getVersion

        public String getVersion()
        Version is the API Version of the Resource. "*" means all.
      • setVersion

        public void setVersion​(String version)
        Version is the API Version of the Resource. "*" means all.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)