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

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

/** Generated */
public interface V1ComponentStatusFluent> extends Fluent {
  public String getApiVersion();

  public A withApiVersion(java.lang.String apiVersion);

  public Boolean hasApiVersion();

  public A addToConditions(Integer index, V1ComponentCondition item);

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

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

  public A addAllToConditions(
      Collection items);

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

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

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

  public io.kubernetes.client.openapi.models.V1ComponentCondition 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.V1ComponentCondition... conditions);

  public java.lang.Boolean hasConditions();

  public V1ComponentStatusFluent.ConditionsNested addNewCondition();

  public io.kubernetes.client.openapi.models.V1ComponentStatusFluent.ConditionsNested
      addNewConditionLike(io.kubernetes.client.openapi.models.V1ComponentCondition item);

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

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

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

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

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

  public java.lang.String getKind();

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

  public java.lang.Boolean hasKind();

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

  public io.kubernetes.client.openapi.models.V1ObjectMeta buildMetadata();

  public A withMetadata(io.kubernetes.client.openapi.models.V1ObjectMeta metadata);

  public java.lang.Boolean hasMetadata();

  public V1ComponentStatusFluent.MetadataNested withNewMetadata();

  public io.kubernetes.client.openapi.models.V1ComponentStatusFluent.MetadataNested
      withNewMetadataLike(io.kubernetes.client.openapi.models.V1ObjectMeta item);

  public io.kubernetes.client.openapi.models.V1ComponentStatusFluent.MetadataNested
      editMetadata();

  public io.kubernetes.client.openapi.models.V1ComponentStatusFluent.MetadataNested
      editOrNewMetadata();

  public io.kubernetes.client.openapi.models.V1ComponentStatusFluent.MetadataNested
      editOrNewMetadataLike(io.kubernetes.client.openapi.models.V1ObjectMeta item);

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

    public N endCondition();
  }

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

    public N endMetadata();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy