public class V1beta1PolicyRule extends Object
Constructor and Description |
---|
V1beta1PolicyRule() |
Modifier and Type | Method and Description |
---|---|
V1beta1PolicyRule |
addApiGroupsItem(String apiGroupsItem) |
V1beta1PolicyRule |
addNonResourceURLsItem(String nonResourceURLsItem) |
V1beta1PolicyRule |
addResourceNamesItem(String resourceNamesItem) |
V1beta1PolicyRule |
addResourcesItem(String resourcesItem) |
V1beta1PolicyRule |
addVerbsItem(String verbsItem) |
V1beta1PolicyRule |
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() |
V1beta1PolicyRule |
nonResourceURLs(List<String> nonResourceURLs) |
V1beta1PolicyRule |
resourceNames(List<String> resourceNames) |
V1beta1PolicyRule |
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() |
V1beta1PolicyRule |
verbs(List<String> verbs) |
public V1beta1PolicyRule apiGroups(List<String> apiGroups)
public V1beta1PolicyRule addApiGroupsItem(String apiGroupsItem)
public List<String> getApiGroups()
public V1beta1PolicyRule nonResourceURLs(List<String> nonResourceURLs)
public V1beta1PolicyRule addNonResourceURLsItem(String nonResourceURLsItem)
public List<String> getNonResourceURLs()
public V1beta1PolicyRule resourceNames(List<String> resourceNames)
public V1beta1PolicyRule addResourceNamesItem(String resourceNamesItem)
public List<String> getResourceNames()
public V1beta1PolicyRule resources(List<String> resources)
public V1beta1PolicyRule addResourcesItem(String resourcesItem)
public List<String> getResources()
public V1beta1PolicyRule verbs(List<String> verbs)
public V1beta1PolicyRule addVerbsItem(String verbsItem)
public List<String> getVerbs()
Copyright © 2019. All rights reserved.