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

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

  public A withMinReadySeconds(java.lang.Integer minReadySeconds);

  public Boolean hasMinReadySeconds();

  public java.lang.Boolean getPaused();

  public A withPaused(java.lang.Boolean paused);

  public java.lang.Boolean hasPaused();

  public java.lang.Integer getProgressDeadlineSeconds();

  public A withProgressDeadlineSeconds(java.lang.Integer progressDeadlineSeconds);

  public java.lang.Boolean hasProgressDeadlineSeconds();

  public java.lang.Integer getReplicas();

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

  public java.lang.Boolean hasReplicas();

  public java.lang.Integer getRevisionHistoryLimit();

  public A withRevisionHistoryLimit(java.lang.Integer revisionHistoryLimit);

  public java.lang.Boolean hasRevisionHistoryLimit();

  /**
   * This method has been deprecated, please use method buildSelector instead.
   *
   * @return The buildable object.
   */
  @Deprecated
  public V1LabelSelector getSelector();

  public io.kubernetes.client.openapi.models.V1LabelSelector buildSelector();

  public A withSelector(io.kubernetes.client.openapi.models.V1LabelSelector selector);

  public java.lang.Boolean hasSelector();

  public V1DeploymentSpecFluent.SelectorNested withNewSelector();

  public io.kubernetes.client.openapi.models.V1DeploymentSpecFluent.SelectorNested
      withNewSelectorLike(io.kubernetes.client.openapi.models.V1LabelSelector item);

  public io.kubernetes.client.openapi.models.V1DeploymentSpecFluent.SelectorNested
      editSelector();

  public io.kubernetes.client.openapi.models.V1DeploymentSpecFluent.SelectorNested
      editOrNewSelector();

  public io.kubernetes.client.openapi.models.V1DeploymentSpecFluent.SelectorNested
      editOrNewSelectorLike(io.kubernetes.client.openapi.models.V1LabelSelector item);

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

  public io.kubernetes.client.openapi.models.V1DeploymentStrategy buildStrategy();

  public A withStrategy(io.kubernetes.client.openapi.models.V1DeploymentStrategy strategy);

  public java.lang.Boolean hasStrategy();

  public V1DeploymentSpecFluent.StrategyNested withNewStrategy();

  public io.kubernetes.client.openapi.models.V1DeploymentSpecFluent.StrategyNested
      withNewStrategyLike(io.kubernetes.client.openapi.models.V1DeploymentStrategy item);

  public io.kubernetes.client.openapi.models.V1DeploymentSpecFluent.StrategyNested
      editStrategy();

  public io.kubernetes.client.openapi.models.V1DeploymentSpecFluent.StrategyNested
      editOrNewStrategy();

  public io.kubernetes.client.openapi.models.V1DeploymentSpecFluent.StrategyNested
      editOrNewStrategyLike(io.kubernetes.client.openapi.models.V1DeploymentStrategy item);

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

  public io.kubernetes.client.openapi.models.V1PodTemplateSpec buildTemplate();

  public A withTemplate(io.kubernetes.client.openapi.models.V1PodTemplateSpec template);

  public java.lang.Boolean hasTemplate();

  public V1DeploymentSpecFluent.TemplateNested withNewTemplate();

  public io.kubernetes.client.openapi.models.V1DeploymentSpecFluent.TemplateNested
      withNewTemplateLike(io.kubernetes.client.openapi.models.V1PodTemplateSpec item);

  public io.kubernetes.client.openapi.models.V1DeploymentSpecFluent.TemplateNested
      editTemplate();

  public io.kubernetes.client.openapi.models.V1DeploymentSpecFluent.TemplateNested
      editOrNewTemplate();

  public io.kubernetes.client.openapi.models.V1DeploymentSpecFluent.TemplateNested
      editOrNewTemplateLike(io.kubernetes.client.openapi.models.V1PodTemplateSpec item);

  public A withPaused();

  public interface SelectorNested
      extends Nested, V1LabelSelectorFluent> {
    public N and();

    public N endSelector();
  }

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

    public N endStrategy();
  }

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

    public N endTemplate();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy