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

io.kubernetes.client.openapi.models.V1RollingUpdateDeploymentBuilder Maven / Gradle / Ivy

There is a newer version: 22.0.0
Show newest version
package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.VisitableBuilder;
public class V1RollingUpdateDeploymentBuilder extends V1RollingUpdateDeploymentFluent implements VisitableBuilder{
  public V1RollingUpdateDeploymentBuilder() {
    this(new V1RollingUpdateDeployment());
  }
  
  public V1RollingUpdateDeploymentBuilder(V1RollingUpdateDeploymentFluent fluent) {
    this(fluent, new V1RollingUpdateDeployment());
  }
  
  public V1RollingUpdateDeploymentBuilder(V1RollingUpdateDeploymentFluent fluent,V1RollingUpdateDeployment instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1RollingUpdateDeploymentBuilder(V1RollingUpdateDeployment instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1RollingUpdateDeploymentFluent fluent;
  
  public V1RollingUpdateDeployment build() {
    V1RollingUpdateDeployment buildable = new V1RollingUpdateDeployment();
    buildable.setMaxSurge(fluent.getMaxSurge());
    buildable.setMaxUnavailable(fluent.getMaxUnavailable());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy