@Generated(value="org.jsonschema2pojo") public class ClusterRoleScopeRestriction extends Object implements KubernetesResource
Constructor and Description |
---|
ClusterRoleScopeRestriction()
No args constructor for use in serialization
|
ClusterRoleScopeRestriction(Boolean allowEscalation,
List<String> namespaces,
List<String> roleNames) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
Boolean |
getAllowEscalation() |
List<String> |
getNamespaces() |
List<String> |
getRoleNames() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setAllowEscalation(Boolean allowEscalation) |
void |
setNamespaces(List<String> namespaces) |
void |
setRoleNames(List<String> roleNames) |
public ClusterRoleScopeRestriction()
public Boolean getAllowEscalation()
public void setAllowEscalation(Boolean allowEscalation)
allowEscalation
- The allowEscalationpublic void setNamespaces(List<String> namespaces)
namespaces
- The namespacesCopyright © 2011–2018 Red Hat. All rights reserved.