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

io.fabric8.openshift.api.model.installer.v1.ClusterQuotaBuilder Maven / Gradle / Ivy

package io.fabric8.openshift.api.model.installer.v1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class ClusterQuotaBuilder extends ClusterQuotaFluent implements VisitableBuilder{
  public ClusterQuotaBuilder() {
    this(new ClusterQuota());
  }
  
  public ClusterQuotaBuilder(ClusterQuotaFluent fluent) {
    this(fluent, new ClusterQuota());
  }
  
  public ClusterQuotaBuilder(ClusterQuotaFluent fluent,ClusterQuota instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public ClusterQuotaBuilder(ClusterQuota instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  ClusterQuotaFluent fluent;
  
  public ClusterQuota build() {
    ClusterQuota buildable = new ClusterQuota(fluent.buildGcp());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy