Class AggregationRule
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.rbac.v1.AggregationRule
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class AggregationRule extends java.lang.Object implements com.marcnuri.yakc.model.Model
AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AggregationRule.Builder
-
Constructor Summary
Constructors Constructor Description AggregationRule()
AggregationRule(java.util.List<LabelSelector> clusterRoleSelectors)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AggregationRule.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.util.List<LabelSelector>
getClusterRoleSelectors()
ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.int
hashCode()
void
setClusterRoleSelectors(java.util.List<LabelSelector> clusterRoleSelectors)
ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.AggregationRule.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
AggregationRule
public AggregationRule(java.util.List<LabelSelector> clusterRoleSelectors)
-
AggregationRule
public AggregationRule()
-
-
Method Detail
-
builder
public static AggregationRule.Builder builder()
-
toBuilder
public AggregationRule.Builder toBuilder()
-
getClusterRoleSelectors
public java.util.List<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(java.util.List<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
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-