@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-06T08:58:17.566Z[Etc/UTC]") public class V1ResourceRule extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_API_GROUPS |
static String |
SERIALIZED_NAME_RESOURCE_NAMES |
static String |
SERIALIZED_NAME_RESOURCES |
static String |
SERIALIZED_NAME_VERBS |
Constructor and Description |
---|
V1ResourceRule() |
Modifier and Type | Method and Description |
---|---|
V1ResourceRule |
addApiGroupsItem(String apiGroupsItem) |
V1ResourceRule |
addResourceNamesItem(String resourceNamesItem) |
V1ResourceRule |
addResourcesItem(String resourcesItem) |
V1ResourceRule |
addVerbsItem(String verbsItem) |
V1ResourceRule |
apiGroups(List<String> apiGroups) |
boolean |
equals(Object o) |
List<String> |
getApiGroups()
APIGroups is the name of the APIGroup that contains the resources.
|
List<String> |
getResourceNames()
ResourceNames is an optional white list of names that the rule applies to.
|
List<String> |
getResources()
Resources is a list of resources this rule applies to.
|
List<String> |
getVerbs()
Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update,
delete, proxy.
|
int |
hashCode() |
V1ResourceRule |
resourceNames(List<String> resourceNames) |
V1ResourceRule |
resources(List<String> resources) |
void |
setApiGroups(List<String> apiGroups) |
void |
setResourceNames(List<String> resourceNames) |
void |
setResources(List<String> resources) |
void |
setVerbs(List<String> verbs) |
String |
toString() |
V1ResourceRule |
verbs(List<String> verbs) |
public static final String SERIALIZED_NAME_API_GROUPS
public static final String SERIALIZED_NAME_RESOURCE_NAMES
public static final String SERIALIZED_NAME_RESOURCES
public static final String SERIALIZED_NAME_VERBS
public V1ResourceRule apiGroups(List<String> apiGroups)
public V1ResourceRule addApiGroupsItem(String apiGroupsItem)
@Nullable public List<String> getApiGroups()
public V1ResourceRule resourceNames(List<String> resourceNames)
public V1ResourceRule addResourceNamesItem(String resourceNamesItem)
@Nullable public List<String> getResourceNames()
public V1ResourceRule resources(List<String> resources)
public V1ResourceRule addResourcesItem(String resourcesItem)
@Nullable public List<String> getResources()
public V1ResourceRule verbs(List<String> verbs)
public V1ResourceRule addVerbsItem(String verbsItem)
public List<String> getVerbs()
Copyright © 2020. All rights reserved.