Class AggregationRule
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.rbac.AggregationRule
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<AggregationRuleBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class AggregationRule extends Object implements io.fabric8.kubernetes.api.builder.Editable<AggregationRuleBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AggregationRule()No args constructor for use in serializationAggregationRule(List<io.fabric8.kubernetes.api.model.LabelSelector> clusterRoleSelectors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AggregationRuleBuilderedit()Map<String,Object>getAdditionalProperties()List<io.fabric8.kubernetes.api.model.LabelSelector>getClusterRoleSelectors()ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetClusterRoleSelectors(List<io.fabric8.kubernetes.api.model.LabelSelector> clusterRoleSelectors)ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.AggregationRuleBuildertoBuilder()
-
-
-
Constructor Detail
-
AggregationRule
public AggregationRule()
No args constructor for use in serialization
-
AggregationRule
public AggregationRule(List<io.fabric8.kubernetes.api.model.LabelSelector> clusterRoleSelectors)
-
-
Method Detail
-
getClusterRoleSelectors
public List<io.fabric8.kubernetes.api.model.LabelSelector> getClusterRoleSelectors()
ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added
-
setClusterRoleSelectors
public void setClusterRoleSelectors(List<io.fabric8.kubernetes.api.model.LabelSelector> clusterRoleSelectors)
ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added
-
edit
public AggregationRuleBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<AggregationRuleBuilder>
-
toBuilder
public AggregationRuleBuilder toBuilder()
-
-