@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-06T08:58:17.566Z[Etc/UTC]") public class V1PolicyRule extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_API_GROUPS |
static String |
SERIALIZED_NAME_NON_RESOURCE_U_R_LS |
static String |
SERIALIZED_NAME_RESOURCE_NAMES |
static String |
SERIALIZED_NAME_RESOURCES |
static String |
SERIALIZED_NAME_VERBS |
Constructor and Description |
---|
V1PolicyRule() |
Modifier and Type | Method and Description |
---|---|
V1PolicyRule |
addApiGroupsItem(String apiGroupsItem) |
V1PolicyRule |
addNonResourceURLsItem(String nonResourceURLsItem) |
V1PolicyRule |
addResourceNamesItem(String resourceNamesItem) |
V1PolicyRule |
addResourcesItem(String resourcesItem) |
V1PolicyRule |
addVerbsItem(String verbsItem) |
V1PolicyRule |
apiGroups(List<String> apiGroups) |
boolean |
equals(Object o) |
List<String> |
getApiGroups()
APIGroups is the name of the APIGroup that contains the resources.
|
List<String> |
getNonResourceURLs()
NonResourceURLs is a set of partial urls that a user should have access to.
|
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()
Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions
contained in this rule.
|
int |
hashCode() |
V1PolicyRule |
nonResourceURLs(List<String> nonResourceURLs) |
V1PolicyRule |
resourceNames(List<String> resourceNames) |
V1PolicyRule |
resources(List<String> resources) |
void |
setApiGroups(List<String> apiGroups) |
void |
setNonResourceURLs(List<String> nonResourceURLs) |
void |
setResourceNames(List<String> resourceNames) |
void |
setResources(List<String> resources) |
void |
setVerbs(List<String> verbs) |
String |
toString() |
V1PolicyRule |
verbs(List<String> verbs) |
public static final String SERIALIZED_NAME_API_GROUPS
public static final String SERIALIZED_NAME_NON_RESOURCE_U_R_LS
public static final String SERIALIZED_NAME_RESOURCE_NAMES
public static final String SERIALIZED_NAME_RESOURCES
public static final String SERIALIZED_NAME_VERBS
public V1PolicyRule apiGroups(List<String> apiGroups)
public V1PolicyRule addApiGroupsItem(String apiGroupsItem)
@Nullable public List<String> getApiGroups()
public V1PolicyRule nonResourceURLs(List<String> nonResourceURLs)
public V1PolicyRule addNonResourceURLsItem(String nonResourceURLsItem)
@Nullable public List<String> getNonResourceURLs()
public V1PolicyRule resourceNames(List<String> resourceNames)
public V1PolicyRule addResourceNamesItem(String resourceNamesItem)
@Nullable public List<String> getResourceNames()
public V1PolicyRule resources(List<String> resources)
public V1PolicyRule addResourcesItem(String resourcesItem)
@Nullable public List<String> getResources()
public V1PolicyRule verbs(List<String> verbs)
public V1PolicyRule addVerbsItem(String verbsItem)
public List<String> getVerbs()
Copyright © 2020. All rights reserved.