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

io.kubernetes.client.openapi.models.V1PodDisruptionBudgetFluent 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;

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

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

  public Boolean hasApiVersion();

  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.
   */
  @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 V1PodDisruptionBudgetFluent.MetadataNested withNewMetadata();

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

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

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

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

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

  public io.kubernetes.client.openapi.models.V1PodDisruptionBudgetSpec buildSpec();

  public A withSpec(io.kubernetes.client.openapi.models.V1PodDisruptionBudgetSpec spec);

  public java.lang.Boolean hasSpec();

  public V1PodDisruptionBudgetFluent.SpecNested withNewSpec();

  public io.kubernetes.client.openapi.models.V1PodDisruptionBudgetFluent.SpecNested
      withNewSpecLike(io.kubernetes.client.openapi.models.V1PodDisruptionBudgetSpec item);

  public io.kubernetes.client.openapi.models.V1PodDisruptionBudgetFluent.SpecNested editSpec();

  public io.kubernetes.client.openapi.models.V1PodDisruptionBudgetFluent.SpecNested
      editOrNewSpec();

  public io.kubernetes.client.openapi.models.V1PodDisruptionBudgetFluent.SpecNested
      editOrNewSpecLike(io.kubernetes.client.openapi.models.V1PodDisruptionBudgetSpec item);

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

  public io.kubernetes.client.openapi.models.V1PodDisruptionBudgetStatus buildStatus();

  public A withStatus(io.kubernetes.client.openapi.models.V1PodDisruptionBudgetStatus status);

  public java.lang.Boolean hasStatus();

  public V1PodDisruptionBudgetFluent.StatusNested withNewStatus();

  public io.kubernetes.client.openapi.models.V1PodDisruptionBudgetFluent.StatusNested
      withNewStatusLike(io.kubernetes.client.openapi.models.V1PodDisruptionBudgetStatus item);

  public io.kubernetes.client.openapi.models.V1PodDisruptionBudgetFluent.StatusNested
      editStatus();

  public io.kubernetes.client.openapi.models.V1PodDisruptionBudgetFluent.StatusNested
      editOrNewStatus();

  public io.kubernetes.client.openapi.models.V1PodDisruptionBudgetFluent.StatusNested
      editOrNewStatusLike(io.kubernetes.client.openapi.models.V1PodDisruptionBudgetStatus item);

  public interface MetadataNested
      extends Nested, V1ObjectMetaFluent> {
    public N and();

    public N endMetadata();
  }

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

    public N endSpec();
  }

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

    public N endStatus();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy