Class V1ResourceRule
java.lang.Object
io.kubernetes.client.openapi.models.V1ResourceRule
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-12-05T08:14:34.919Z[Etc/UTC]")
public class V1ResourceRule
extends Object
ResourceRule is the list of actions the subject is allowed to perform on resources. The list
ordering isn't significant, may contain duplicates, and possibly be incomplete.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddApiGroupsItem
(String apiGroupsItem) addResourceNamesItem
(String resourceNamesItem) addResourcesItem
(String resourcesItem) addVerbsItem
(String verbsItem) boolean
APIGroups is the name of the APIGroup that contains the resources.ResourceNames is an optional white list of names that the rule applies to.Resources is a list of resources this rule applies to.getVerbs()
Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy.int
hashCode()
resourceNames
(List<String> resourceNames) void
setApiGroups
(List<String> apiGroups) void
setResourceNames
(List<String> resourceNames) void
setResources
(List<String> resources) void
toString()
-
Field Details
-
SERIALIZED_NAME_API_GROUPS
- See Also:
-
SERIALIZED_NAME_RESOURCE_NAMES
- See Also:
-
SERIALIZED_NAME_RESOURCES
- See Also:
-
SERIALIZED_NAME_VERBS
- See Also:
-
-
Constructor Details
-
V1ResourceRule
public V1ResourceRule()
-
-
Method Details
-
apiGroups
-
addApiGroupsItem
-
getApiGroups
APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"*\" means all.- Returns:
- apiGroups
-
setApiGroups
-
resourceNames
-
addResourceNamesItem
-
getResourceNames
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all.- Returns:
- resourceNames
-
setResourceNames
-
resources
-
addResourcesItem
-
getResources
Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups. \"*_/foo\" represents the subresource 'foo' for all resources in the specified apiGroups.- Returns:
- resources
-
setResources
-
verbs
-
addVerbsItem
-
getVerbs
Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all.- Returns:
- verbs
-
setVerbs
-
equals
-
hashCode
public int hashCode() -
toString
-