Package net.stickycode.kuuty.model.v18
Class IoK8sApiAuthorizationV1ResourceRule
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiAuthorizationV1ResourceRule
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiAuthorizationV1ResourceRule 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 Modifier and Type Field Description static StringJSON_PROPERTY_API_GROUPSstatic StringJSON_PROPERTY_RESOURCE_NAMESstatic StringJSON_PROPERTY_RESOURCESstatic StringJSON_PROPERTY_VERBS
-
Constructor Summary
Constructors Constructor Description IoK8sApiAuthorizationV1ResourceRule()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_API_GROUPS
public static final String JSON_PROPERTY_API_GROUPS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RESOURCE_NAMES
public static final String JSON_PROPERTY_RESOURCE_NAMES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RESOURCES
public static final String JSON_PROPERTY_RESOURCES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VERBS
public static final String JSON_PROPERTY_VERBS
- See Also:
- Constant Field Values
-
-
Method Detail
-
apiGroups
public IoK8sApiAuthorizationV1ResourceRule apiGroups(List<String> apiGroups)
-
addApiGroupsItem
public IoK8sApiAuthorizationV1ResourceRule addApiGroupsItem(String apiGroupsItem)
-
getApiGroups
@Nullable public List<String> 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
-
resourceNames
public IoK8sApiAuthorizationV1ResourceRule resourceNames(List<String> resourceNames)
-
addResourceNamesItem
public IoK8sApiAuthorizationV1ResourceRule addResourceNamesItem(String resourceNamesItem)
-
getResourceNames
@Nullable public List<String> 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
-
resources
public IoK8sApiAuthorizationV1ResourceRule resources(List<String> resources)
-
addResourcesItem
public IoK8sApiAuthorizationV1ResourceRule addResourcesItem(String resourcesItem)
-
getResources
@Nullable public List<String> 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
-
verbs
public IoK8sApiAuthorizationV1ResourceRule verbs(List<String> verbs)
-
addVerbsItem
public IoK8sApiAuthorizationV1ResourceRule addVerbsItem(String verbsItem)
-
getVerbs
public List<String> getVerbs()
Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all.- Returns:
- verbs
-
-