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

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

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

  public A addToCauses(io.kubernetes.client.openapi.models.V1StatusCause... items);

  public A addAllToCauses(Collection items);

  public A removeFromCauses(io.kubernetes.client.openapi.models.V1StatusCause... items);

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

  public A removeMatchingFromCauses(Predicate predicate);

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

  public java.util.List buildCauses();

  public io.kubernetes.client.openapi.models.V1StatusCause buildCause(java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1StatusCause buildFirstCause();

  public io.kubernetes.client.openapi.models.V1StatusCause buildLastCause();

  public io.kubernetes.client.openapi.models.V1StatusCause buildMatchingCause(
      java.util.function.Predicate
          predicate);

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

  public A withCauses(java.util.List causes);

  public A withCauses(io.kubernetes.client.openapi.models.V1StatusCause... causes);

  public java.lang.Boolean hasCauses();

  public V1StatusDetailsFluent.CausesNested addNewCause();

  public io.kubernetes.client.openapi.models.V1StatusDetailsFluent.CausesNested addNewCauseLike(
      io.kubernetes.client.openapi.models.V1StatusCause item);

  public io.kubernetes.client.openapi.models.V1StatusDetailsFluent.CausesNested setNewCauseLike(
      java.lang.Integer index, io.kubernetes.client.openapi.models.V1StatusCause item);

  public io.kubernetes.client.openapi.models.V1StatusDetailsFluent.CausesNested editCause(
      java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1StatusDetailsFluent.CausesNested editFirstCause();

  public io.kubernetes.client.openapi.models.V1StatusDetailsFluent.CausesNested editLastCause();

  public io.kubernetes.client.openapi.models.V1StatusDetailsFluent.CausesNested
      editMatchingCause(
          java.util.function.Predicate
              predicate);

  public String getGroup();

  public A withGroup(java.lang.String group);

  public java.lang.Boolean hasGroup();

  public java.lang.String getKind();

  public A withKind(java.lang.String kind);

  public java.lang.Boolean hasKind();

  public java.lang.String getName();

  public A withName(java.lang.String name);

  public java.lang.Boolean hasName();

  public java.lang.Integer getRetryAfterSeconds();

  public A withRetryAfterSeconds(java.lang.Integer retryAfterSeconds);

  public java.lang.Boolean hasRetryAfterSeconds();

  public java.lang.String getUid();

  public A withUid(java.lang.String uid);

  public java.lang.Boolean hasUid();

  public interface CausesNested
      extends Nested, V1StatusCauseFluent> {
    public N and();

    public N endCause();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy