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

io.kubernetes.client.openapi.models.V1ScaleStatusBuilder 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 V1ScaleStatusBuilder extends V1ScaleStatusFluent implements VisitableBuilder{
  public V1ScaleStatusBuilder() {
    this(new V1ScaleStatus());
  }
  
  public V1ScaleStatusBuilder(V1ScaleStatusFluent fluent) {
    this(fluent, new V1ScaleStatus());
  }
  
  public V1ScaleStatusBuilder(V1ScaleStatusFluent fluent,V1ScaleStatus instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1ScaleStatusBuilder(V1ScaleStatus instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1ScaleStatusFluent fluent;
  
  public V1ScaleStatus build() {
    V1ScaleStatus buildable = new V1ScaleStatus();
    buildable.setReplicas(fluent.getReplicas());
    buildable.setSelector(fluent.getSelector());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy