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

io.kubernetes.client.openapi.models.V1JobStatusFluent 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.time.OffsetDateTime;
import java.util.Collection;
import java.util.List;
import java.util.function.Predicate;

/** Generated */
public interface V1JobStatusFluent> extends Fluent {
  public Integer getActive();

  public A withActive(java.lang.Integer active);

  public Boolean hasActive();

  public String getCompletedIndexes();

  public A withCompletedIndexes(java.lang.String completedIndexes);

  public java.lang.Boolean hasCompletedIndexes();

  public OffsetDateTime getCompletionTime();

  public A withCompletionTime(java.time.OffsetDateTime completionTime);

  public java.lang.Boolean hasCompletionTime();

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

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

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

  public A addAllToConditions(Collection items);

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

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

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

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

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

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

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

  public java.lang.Boolean hasConditions();

  public V1JobStatusFluent.ConditionsNested addNewCondition();

  public io.kubernetes.client.openapi.models.V1JobStatusFluent.ConditionsNested
      addNewConditionLike(io.kubernetes.client.openapi.models.V1JobCondition item);

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

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

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

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

  public io.kubernetes.client.openapi.models.V1JobStatusFluent.ConditionsNested
      editMatchingCondition(
          java.util.function.Predicate
              predicate);

  public java.lang.Integer getFailed();

  public A withFailed(java.lang.Integer failed);

  public java.lang.Boolean hasFailed();

  public java.lang.Integer getReady();

  public A withReady(java.lang.Integer ready);

  public java.lang.Boolean hasReady();

  public java.time.OffsetDateTime getStartTime();

  public A withStartTime(java.time.OffsetDateTime startTime);

  public java.lang.Boolean hasStartTime();

  public java.lang.Integer getSucceeded();

  public A withSucceeded(java.lang.Integer succeeded);

  public java.lang.Boolean hasSucceeded();

  /**
   * This method has been deprecated, please use method buildUncountedTerminatedPods instead.
   *
   * @return The buildable object.
   */
  @java.lang.Deprecated
  public V1UncountedTerminatedPods getUncountedTerminatedPods();

  public io.kubernetes.client.openapi.models.V1UncountedTerminatedPods
      buildUncountedTerminatedPods();

  public A withUncountedTerminatedPods(
      io.kubernetes.client.openapi.models.V1UncountedTerminatedPods uncountedTerminatedPods);

  public java.lang.Boolean hasUncountedTerminatedPods();

  public V1JobStatusFluent.UncountedTerminatedPodsNested withNewUncountedTerminatedPods();

  public io.kubernetes.client.openapi.models.V1JobStatusFluent.UncountedTerminatedPodsNested
      withNewUncountedTerminatedPodsLike(
          io.kubernetes.client.openapi.models.V1UncountedTerminatedPods item);

  public io.kubernetes.client.openapi.models.V1JobStatusFluent.UncountedTerminatedPodsNested
      editUncountedTerminatedPods();

  public io.kubernetes.client.openapi.models.V1JobStatusFluent.UncountedTerminatedPodsNested
      editOrNewUncountedTerminatedPods();

  public io.kubernetes.client.openapi.models.V1JobStatusFluent.UncountedTerminatedPodsNested
      editOrNewUncountedTerminatedPodsLike(
          io.kubernetes.client.openapi.models.V1UncountedTerminatedPods item);

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

    public N endCondition();
  }

  public interface UncountedTerminatedPodsNested
      extends io.kubernetes.client.fluent.Nested,
          V1UncountedTerminatedPodsFluent> {
    public N and();

    public N endUncountedTerminatedPods();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy