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

io.kubernetes.client.openapi.models.V1LimitRangeSpecFluent 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 V1LimitRangeSpecFluent> extends Fluent {
  public A addToLimits(Integer index, V1LimitRangeItem item);

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

  public A addToLimits(io.kubernetes.client.openapi.models.V1LimitRangeItem... items);

  public A addAllToLimits(Collection items);

  public A removeFromLimits(io.kubernetes.client.openapi.models.V1LimitRangeItem... items);

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

  public A removeMatchingFromLimits(Predicate predicate);

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

  public java.util.List buildLimits();

  public io.kubernetes.client.openapi.models.V1LimitRangeItem buildLimit(java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1LimitRangeItem buildFirstLimit();

  public io.kubernetes.client.openapi.models.V1LimitRangeItem buildLastLimit();

  public io.kubernetes.client.openapi.models.V1LimitRangeItem buildMatchingLimit(
      java.util.function.Predicate
          predicate);

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

  public A withLimits(java.util.List limits);

  public A withLimits(io.kubernetes.client.openapi.models.V1LimitRangeItem... limits);

  public java.lang.Boolean hasLimits();

  public V1LimitRangeSpecFluent.LimitsNested addNewLimit();

  public io.kubernetes.client.openapi.models.V1LimitRangeSpecFluent.LimitsNested addNewLimitLike(
      io.kubernetes.client.openapi.models.V1LimitRangeItem item);

  public io.kubernetes.client.openapi.models.V1LimitRangeSpecFluent.LimitsNested setNewLimitLike(
      java.lang.Integer index, io.kubernetes.client.openapi.models.V1LimitRangeItem item);

  public io.kubernetes.client.openapi.models.V1LimitRangeSpecFluent.LimitsNested editLimit(
      java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1LimitRangeSpecFluent.LimitsNested
      editFirstLimit();

  public io.kubernetes.client.openapi.models.V1LimitRangeSpecFluent.LimitsNested editLastLimit();

  public io.kubernetes.client.openapi.models.V1LimitRangeSpecFluent.LimitsNested
      editMatchingLimit(
          java.util.function.Predicate
              predicate);

  public interface LimitsNested
      extends Nested, V1LimitRangeItemFluent> {
    public N and();

    public N endLimit();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy