Class V1ResourceRule
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ResourceRule
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddApiGroupsItem(String apiGroupsItem) Add an item to the apiGroups property in a chainable fashion.addResourceNamesItem(String resourceNamesItem) Add an item to the resourceNames property in a chainable fashion.addResourcesItem(String resourcesItem) Add an item to the resources property in a chainable fashion.addVerbsItem(String verbsItem) Add an item to the verbs property in a chainable fashion.Set apiGroups in a chainable fashion.booleanAPIGroups 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.inthashCode()resourceNames(List<@NotNull String> resourceNames) Set resourceNames in a chainable fashion.Set resources in a chainable fashion.voidsetApiGroups(List<@NotNull String> apiGroups) Set the apiGroups property valuevoidsetResourceNames(List<@NotNull String> resourceNames) Set the resourceNames property valuevoidsetResources(List<@NotNull String> resources) Set the resources property valuevoidSet the verbs property valuetoString()Set verbs in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_VERBS
- See Also:
-
JSON_PROPERTY_API_GROUPS
- See Also:
-
JSON_PROPERTY_RESOURCE_NAMES
- See Also:
-
JSON_PROPERTY_RESOURCES
- See Also:
-
-
Constructor Details
-
V1ResourceRule
-
-
Method Details
-
getVerbs
-
setVerbs
-
verbs
Set verbs in a chainable fashion.- Returns:
- The same instance of V1ResourceRule for chaining.
-
addVerbsItem
Add an item to the verbs property in a chainable fashion.- Returns:
- The same instance of V1ResourceRule for chaining.
-
getApiGroups
-
setApiGroups
-
apiGroups
Set apiGroups in a chainable fashion.- Returns:
- The same instance of V1ResourceRule for chaining.
-
addApiGroupsItem
Add an item to the apiGroups property in a chainable fashion.- Returns:
- The same instance of V1ResourceRule for chaining.
-
getResourceNames
-
setResourceNames
-
resourceNames
Set resourceNames in a chainable fashion.- Returns:
- The same instance of V1ResourceRule for chaining.
-
addResourceNamesItem
Add an item to the resourceNames property in a chainable fashion.- Returns:
- The same instance of V1ResourceRule for chaining.
-
getResources
-
setResources
-
resources
Set resources in a chainable fashion.- Returns:
- The same instance of V1ResourceRule for chaining.
-
addResourcesItem
Add an item to the resources property in a chainable fashion.- Returns:
- The same instance of V1ResourceRule for chaining.
-
equals
-
hashCode
-
toString
-