@Generated(value="org.jsonschema2pojo") public class PolicyRule extends Object implements KubernetesResource
Constructor and Description |
---|
PolicyRule()
No args constructor for use in serialization
|
PolicyRule(List<String> apiGroups,
HasMetadata attributeRestrictions,
List<String> nonResourceURLs,
List<String> resourceNames,
List<String> resources,
List<String> verbs) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
List<String> |
getApiGroups() |
HasMetadata |
getAttributeRestrictions() |
List<String> |
getNonResourceURLs() |
List<String> |
getResourceNames() |
List<String> |
getResources() |
List<String> |
getVerbs() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setApiGroups(List<String> apiGroups) |
void |
setAttributeRestrictions(HasMetadata attributeRestrictions) |
void |
setNonResourceURLs(List<String> nonResourceURLs) |
void |
setResourceNames(List<String> resourceNames) |
void |
setResources(List<String> resources) |
void |
setVerbs(List<String> verbs) |
public HasMetadata getAttributeRestrictions()
public void setAttributeRestrictions(HasMetadata attributeRestrictions)
attributeRestrictions
- The attributeRestrictionspublic void setNonResourceURLs(List<String> nonResourceURLs)
nonResourceURLs
- The nonResourceURLspublic void setResourceNames(List<String> resourceNames)
resourceNames
- The resourceNamesCopyright © 2011–2017 Red Hat. All rights reserved.