Class V1AggregationRule

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1AggregationRule

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1AggregationRule extends Object
AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole
  • Field Details

    • JSON_PROPERTY_CLUSTER_ROLE_SELECTORS

      public static final String JSON_PROPERTY_CLUSTER_ROLE_SELECTORS
      See Also:
  • Constructor Details

    • V1AggregationRule

      public V1AggregationRule()
  • Method Details

    • getClusterRoleSelectors

      public List<@Valid 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:
      the clusterRoleSelectors property value
    • setClusterRoleSelectors

      public void setClusterRoleSelectors(List<@Valid V1LabelSelector> clusterRoleSelectors)
      Set the clusterRoleSelectors property value
    • clusterRoleSelectors

      public V1AggregationRule clusterRoleSelectors(List<@Valid V1LabelSelector> clusterRoleSelectors)
      Set clusterRoleSelectors in a chainable fashion.
      Returns:
      The same instance of V1AggregationRule for chaining.
    • addclusterRoleSelectorsItem

      public V1AggregationRule addclusterRoleSelectorsItem(V1LabelSelector clusterRoleSelectorsItem)
      Add an item to the clusterRoleSelectors property in a chainable fashion.
      Returns:
      The same instance of V1AggregationRule for chaining.
    • 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