Class V1AggregationRule

java.lang.Object
io.kubernetes.client.openapi.models.V1AggregationRule

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-12-05T08:14:34.919Z[Etc/UTC]") public class V1AggregationRule extends Object
AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole
  • Field Details

    • SERIALIZED_NAME_CLUSTER_ROLE_SELECTORS

      public static final String SERIALIZED_NAME_CLUSTER_ROLE_SELECTORS
      See Also:
  • Constructor Details

    • V1AggregationRule

      public V1AggregationRule()
  • Method Details

    • clusterRoleSelectors

      public V1AggregationRule clusterRoleSelectors(List<V1LabelSelector> clusterRoleSelectors)
    • addClusterRoleSelectorsItem

      public V1AggregationRule addClusterRoleSelectorsItem(V1LabelSelector clusterRoleSelectorsItem)
    • getClusterRoleSelectors

      @Nullable public List<V1LabelSelector> 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
      Returns:
      clusterRoleSelectors
    • setClusterRoleSelectors

      public void setClusterRoleSelectors(List<V1LabelSelector> clusterRoleSelectors)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object