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

io.kubernetes.client.openapi.models.V1StatefulSetStatusFluent 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 V1StatefulSetStatusFluent>
    extends Fluent {
  public Integer getAvailableReplicas();

  public A withAvailableReplicas(java.lang.Integer availableReplicas);

  public Boolean hasAvailableReplicas();

  public java.lang.Integer getCollisionCount();

  public A withCollisionCount(java.lang.Integer collisionCount);

  public java.lang.Boolean hasCollisionCount();

  public A addToConditions(java.lang.Integer index, V1StatefulSetCondition item);

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

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

  public A addAllToConditions(
      Collection items);

  public A removeFromConditions(
      io.kubernetes.client.openapi.models.V1StatefulSetCondition... 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.V1StatefulSetCondition buildCondition(
      java.lang.Integer index);

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

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

  public io.kubernetes.client.openapi.models.V1StatefulSetCondition buildMatchingCondition(
      java.util.function.Predicate<
              io.kubernetes.client.openapi.models.V1StatefulSetConditionBuilder>
          predicate);

  public java.lang.Boolean hasMatchingCondition(
      java.util.function.Predicate<
              io.kubernetes.client.openapi.models.V1StatefulSetConditionBuilder>
          predicate);

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

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

  public java.lang.Boolean hasConditions();

  public V1StatefulSetStatusFluent.ConditionsNested addNewCondition();

  public io.kubernetes.client.openapi.models.V1StatefulSetStatusFluent.ConditionsNested
      addNewConditionLike(io.kubernetes.client.openapi.models.V1StatefulSetCondition item);

  public io.kubernetes.client.openapi.models.V1StatefulSetStatusFluent.ConditionsNested
      setNewConditionLike(
          java.lang.Integer index, io.kubernetes.client.openapi.models.V1StatefulSetCondition item);

  public io.kubernetes.client.openapi.models.V1StatefulSetStatusFluent.ConditionsNested
      editCondition(java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1StatefulSetStatusFluent.ConditionsNested
      editFirstCondition();

  public io.kubernetes.client.openapi.models.V1StatefulSetStatusFluent.ConditionsNested
      editLastCondition();

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

  public java.lang.Integer getCurrentReplicas();

  public A withCurrentReplicas(java.lang.Integer currentReplicas);

  public java.lang.Boolean hasCurrentReplicas();

  public String getCurrentRevision();

  public A withCurrentRevision(java.lang.String currentRevision);

  public java.lang.Boolean hasCurrentRevision();

  public Long getObservedGeneration();

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

  public java.lang.Boolean hasObservedGeneration();

  public java.lang.Integer getReadyReplicas();

  public A withReadyReplicas(java.lang.Integer readyReplicas);

  public java.lang.Boolean hasReadyReplicas();

  public java.lang.Integer getReplicas();

  public A withReplicas(java.lang.Integer replicas);

  public java.lang.Boolean hasReplicas();

  public java.lang.String getUpdateRevision();

  public A withUpdateRevision(java.lang.String updateRevision);

  public java.lang.Boolean hasUpdateRevision();

  public java.lang.Integer getUpdatedReplicas();

  public A withUpdatedReplicas(java.lang.Integer updatedReplicas);

  public java.lang.Boolean hasUpdatedReplicas();

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

    public N endCondition();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy