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

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

There is a newer version: 23.0.0-legacy
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.time.OffsetDateTime;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.function.Predicate;

/** Generated */
public interface V1beta1PodDisruptionBudgetStatusFluent<
        A extends V1beta1PodDisruptionBudgetStatusFluent>
    extends Fluent {
  public A addToConditions(Integer index, V1Condition item);

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

  public A addToConditions(io.kubernetes.client.openapi.models.V1Condition... items);

  public A addAllToConditions(Collection items);

  public A removeFromConditions(io.kubernetes.client.openapi.models.V1Condition... items);

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

  public A removeMatchingFromConditions(Predicate predicate);

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

  public java.util.List buildConditions();

  public io.kubernetes.client.openapi.models.V1Condition buildCondition(java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1Condition buildFirstCondition();

  public io.kubernetes.client.openapi.models.V1Condition buildLastCondition();

  public io.kubernetes.client.openapi.models.V1Condition buildMatchingCondition(
      java.util.function.Predicate
          predicate);

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

  public A withConditions(
      java.util.List conditions);

  public A withConditions(io.kubernetes.client.openapi.models.V1Condition... conditions);

  public java.lang.Boolean hasConditions();

  public V1beta1PodDisruptionBudgetStatusFluent.ConditionsNested addNewCondition();

  public io.kubernetes.client.openapi.models.V1beta1PodDisruptionBudgetStatusFluent
              .ConditionsNested<
          A>
      addNewConditionLike(io.kubernetes.client.openapi.models.V1Condition item);

  public io.kubernetes.client.openapi.models.V1beta1PodDisruptionBudgetStatusFluent
              .ConditionsNested<
          A>
      setNewConditionLike(
          java.lang.Integer index, io.kubernetes.client.openapi.models.V1Condition item);

  public io.kubernetes.client.openapi.models.V1beta1PodDisruptionBudgetStatusFluent
              .ConditionsNested<
          A>
      editCondition(java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1beta1PodDisruptionBudgetStatusFluent
              .ConditionsNested<
          A>
      editFirstCondition();

  public io.kubernetes.client.openapi.models.V1beta1PodDisruptionBudgetStatusFluent
              .ConditionsNested<
          A>
      editLastCondition();

  public io.kubernetes.client.openapi.models.V1beta1PodDisruptionBudgetStatusFluent
              .ConditionsNested<
          A>
      editMatchingCondition(
          java.util.function.Predicate
              predicate);

  public java.lang.Integer getCurrentHealthy();

  public A withCurrentHealthy(java.lang.Integer currentHealthy);

  public java.lang.Boolean hasCurrentHealthy();

  public java.lang.Integer getDesiredHealthy();

  public A withDesiredHealthy(java.lang.Integer desiredHealthy);

  public java.lang.Boolean hasDesiredHealthy();

  public A addToDisruptedPods(String key, OffsetDateTime value);

  public A addToDisruptedPods(Map map);

  public A removeFromDisruptedPods(java.lang.String key);

  public A removeFromDisruptedPods(java.util.Map map);

  public java.util.Map getDisruptedPods();

  public  A withDisruptedPods(
      java.util.Map disruptedPods);

  public java.lang.Boolean hasDisruptedPods();

  public java.lang.Integer getDisruptionsAllowed();

  public A withDisruptionsAllowed(java.lang.Integer disruptionsAllowed);

  public java.lang.Boolean hasDisruptionsAllowed();

  public java.lang.Integer getExpectedPods();

  public A withExpectedPods(java.lang.Integer expectedPods);

  public java.lang.Boolean hasExpectedPods();

  public Long getObservedGeneration();

  public A withObservedGeneration(java.lang.Long observedGeneration);

  public java.lang.Boolean hasObservedGeneration();

  public interface ConditionsNested
      extends Nested,
          V1ConditionFluent> {
    public N and();

    public N endCondition();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy