Package io.fabric8.openshift.api.model
Class PolicyRule
java.lang.Object
io.fabric8.openshift.api.model.PolicyRule
- All Implemented Interfaces:
io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("org.jsonschema2pojo") public class PolicyRule extends Object implements io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description Map<String,Object>getAdditionalProperties()List<String>getApiGroups()io.fabric8.kubernetes.api.model.HasMetadatagetAttributeRestrictions()List<String>getNonResourceURLs()List<String>getResourceNames()List<String>getResources()List<String>getVerbs()voidsetAdditionalProperty(String name, Object value)voidsetApiGroups(List<String> apiGroups)voidsetAttributeRestrictions(io.fabric8.kubernetes.api.model.HasMetadata attributeRestrictions)voidsetNonResourceURLs(List<String> nonResourceURLs)voidsetResourceNames(List<String> resourceNames)voidsetResources(List<String> resources)voidsetVerbs(List<String> verbs)
-
Constructor Details
-
PolicyRule
public PolicyRule()No args constructor for use in serialization -
PolicyRule
public PolicyRule(List<String> apiGroups, io.fabric8.kubernetes.api.model.HasMetadata attributeRestrictions, List<String> nonResourceURLs, List<String> resourceNames, List<String> resources, List<String> verbs)- Parameters:
resourceNames-attributeRestrictions-resources-verbs-apiGroups-nonResourceURLs-
-
-
Method Details
-
getApiGroups
- Returns:
- The apiGroups
-
setApiGroups
- Parameters:
apiGroups- The apiGroups
-
getAttributeRestrictions
public io.fabric8.kubernetes.api.model.HasMetadata getAttributeRestrictions()- Returns:
- The attributeRestrictions
-
setAttributeRestrictions
public void setAttributeRestrictions(io.fabric8.kubernetes.api.model.HasMetadata attributeRestrictions)- Parameters:
attributeRestrictions- The attributeRestrictions
-
getNonResourceURLs
- Returns:
- The nonResourceURLs
-
setNonResourceURLs
- Parameters:
nonResourceURLs- The nonResourceURLs
-
getResourceNames
- Returns:
- The resourceNames
-
setResourceNames
- Parameters:
resourceNames- The resourceNames
-
getResources
- Returns:
- The resources
-
setResources
- Parameters:
resources- The resources
-
getVerbs
- Returns:
- The verbs
-
setVerbs
- Parameters:
verbs- The verbs
-
getAdditionalProperties
-
setAdditionalProperty
-