All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.kubernetes.client.openapi.models.V1AggregationRuleFluent Maven / Gradle / Ivy

There is a newer version: 22.0.0
Show newest version
/*
Copyright 2022 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;
import java.util.Collection;
import java.util.List;
import java.util.function.Predicate;

/** Generated */
public interface V1AggregationRuleFluent> extends Fluent {
  public A addToClusterRoleSelectors(Integer index, V1LabelSelector item);

  public A setToClusterRoleSelectors(
      java.lang.Integer index, io.kubernetes.client.openapi.models.V1LabelSelector item);

  public A addToClusterRoleSelectors(io.kubernetes.client.openapi.models.V1LabelSelector... items);

  public A addAllToClusterRoleSelectors(
      Collection items);

  public A removeFromClusterRoleSelectors(
      io.kubernetes.client.openapi.models.V1LabelSelector... items);

  public A removeAllFromClusterRoleSelectors(
      java.util.Collection items);

  public A removeMatchingFromClusterRoleSelectors(Predicate predicate);

  /**
   * This method has been deprecated, please use method buildClusterRoleSelectors instead.
   *
   * @return The buildable object.
   */
  @Deprecated
  public List getClusterRoleSelectors();

  public java.util.List
      buildClusterRoleSelectors();

  public io.kubernetes.client.openapi.models.V1LabelSelector buildClusterRoleSelector(
      java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1LabelSelector buildFirstClusterRoleSelector();

  public io.kubernetes.client.openapi.models.V1LabelSelector buildLastClusterRoleSelector();

  public io.kubernetes.client.openapi.models.V1LabelSelector buildMatchingClusterRoleSelector(
      java.util.function.Predicate
          predicate);

  public Boolean hasMatchingClusterRoleSelector(
      java.util.function.Predicate
          predicate);

  public A withClusterRoleSelectors(
      java.util.List clusterRoleSelectors);

  public A withClusterRoleSelectors(
      io.kubernetes.client.openapi.models.V1LabelSelector... clusterRoleSelectors);

  public java.lang.Boolean hasClusterRoleSelectors();

  public V1AggregationRuleFluent.ClusterRoleSelectorsNested addNewClusterRoleSelector();

  public io.kubernetes.client.openapi.models.V1AggregationRuleFluent.ClusterRoleSelectorsNested
      addNewClusterRoleSelectorLike(io.kubernetes.client.openapi.models.V1LabelSelector item);

  public io.kubernetes.client.openapi.models.V1AggregationRuleFluent.ClusterRoleSelectorsNested
      setNewClusterRoleSelectorLike(
          java.lang.Integer index, io.kubernetes.client.openapi.models.V1LabelSelector item);

  public io.kubernetes.client.openapi.models.V1AggregationRuleFluent.ClusterRoleSelectorsNested
      editClusterRoleSelector(java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1AggregationRuleFluent.ClusterRoleSelectorsNested
      editFirstClusterRoleSelector();

  public io.kubernetes.client.openapi.models.V1AggregationRuleFluent.ClusterRoleSelectorsNested
      editLastClusterRoleSelector();

  public io.kubernetes.client.openapi.models.V1AggregationRuleFluent.ClusterRoleSelectorsNested
      editMatchingClusterRoleSelector(
          java.util.function.Predicate
              predicate);

  public interface ClusterRoleSelectorsNested
      extends Nested,
          V1LabelSelectorFluent> {
    public N and();

    public N endClusterRoleSelector();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy