Class ResourceAttributes
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.authorization.v1.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 Summary
Constructors Constructor Description ResourceAttributes()No args constructor for use in serializationResourceAttributes(FieldSelectorAttributes fieldSelector, String group, LabelSelectorAttributes labelSelector, String name, String namespace, String resource, String subresource, String verb, String version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceAttributesBuilderedit()Map<String,Object>getAdditionalProperties()FieldSelectorAttributesgetFieldSelector()ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interfaceStringgetGroup()Group is the API Group of the ResourceLabelSelectorAttributesgetLabelSelector()ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interfaceStringgetName()Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.StringgetNamespace()Namespace is the namespace of the action being requested.StringgetResource()Resource is one of the existing resource typesStringgetSubresource()Subresource is one of the existing resource types. "" means none.StringgetVerb()Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxyStringgetVersion()Version is the API Version of the ResourcevoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetFieldSelector(FieldSelectorAttributes fieldSelector)ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interfacevoidsetGroup(String group)Group is the API Group of the ResourcevoidsetLabelSelector(LabelSelectorAttributes labelSelector)ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interfacevoidsetName(String name)Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.voidsetNamespace(String namespace)Namespace is the namespace of the action being requested.voidsetResource(String resource)Resource is one of the existing resource typesvoidsetSubresource(String subresource)Subresource is one of the existing resource types. "" means none.voidsetVerb(String verb)Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxyvoidsetVersion(String version)Version is the API Version of the ResourceResourceAttributesBuildertoBuilder()
-
-
-
Constructor Detail
-
ResourceAttributes
public ResourceAttributes()
No args constructor for use in serialization
-
ResourceAttributes
public ResourceAttributes(FieldSelectorAttributes fieldSelector, String group, LabelSelectorAttributes labelSelector, String name, String namespace, String resource, String subresource, String verb, String version)
-
-
Method Detail
-
getFieldSelector
public FieldSelectorAttributes getFieldSelector()
ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface
-
setFieldSelector
public void setFieldSelector(FieldSelectorAttributes fieldSelector)
ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface
-
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.
-
getLabelSelector
public LabelSelectorAttributes getLabelSelector()
ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface
-
setLabelSelector
public void setLabelSelector(LabelSelectorAttributes labelSelector)
ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface
-
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.
-
edit
public ResourceAttributesBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ResourceAttributesBuilder>
-
toBuilder
public ResourceAttributesBuilder toBuilder()
-
-