Package io.fabric8.openshift.api.model
Class ClusterRoleScopeRestriction
- java.lang.Object
-
- io.fabric8.openshift.api.model.ClusterRoleScopeRestriction
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ClusterRoleScopeRestrictionBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ClusterRoleScopeRestriction extends Object implements io.fabric8.kubernetes.api.builder.Editable<ClusterRoleScopeRestrictionBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ClusterRoleScopeRestriction describes restrictions on cluster role scopes- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterRoleScopeRestriction()No args constructor for use in serializationClusterRoleScopeRestriction(Boolean allowEscalation, List<String> namespaces, List<String> roleNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterRoleScopeRestrictionBuilderedit()Map<String,Object>getAdditionalProperties()BooleangetAllowEscalation()allowEscalation indicates whether you can request roles and their escalating resourcesList<String>getNamespaces()namespaces is the list of namespaces that can be referenced.List<String>getRoleNames()roleNames is the list of cluster roles that can referenced.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAllowEscalation(Boolean allowEscalation)allowEscalation indicates whether you can request roles and their escalating resourcesvoidsetNamespaces(List<String> namespaces)namespaces is the list of namespaces that can be referenced.voidsetRoleNames(List<String> roleNames)roleNames is the list of cluster roles that can referenced.ClusterRoleScopeRestrictionBuildertoBuilder()
-
-
-
Method Detail
-
getAllowEscalation
public Boolean getAllowEscalation()
allowEscalation indicates whether you can request roles and their escalating resources
-
setAllowEscalation
public void setAllowEscalation(Boolean allowEscalation)
allowEscalation indicates whether you can request roles and their escalating resources
-
getNamespaces
public List<String> getNamespaces()
namespaces is the list of namespaces that can be referenced. * means any of them (including *)
-
setNamespaces
public void setNamespaces(List<String> namespaces)
namespaces is the list of namespaces that can be referenced. * means any of them (including *)
-
getRoleNames
public List<String> getRoleNames()
roleNames is the list of cluster roles that can referenced. * means anything
-
setRoleNames
public void setRoleNames(List<String> roleNames)
roleNames is the list of cluster roles that can referenced. * means anything
-
edit
public ClusterRoleScopeRestrictionBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ClusterRoleScopeRestrictionBuilder>
-
toBuilder
public ClusterRoleScopeRestrictionBuilder toBuilder()
-
-