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

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

The newest version!
package io.fabric8.openshift.api.model.installer.ibmcloud.v1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class DedicatedHostBuilder extends DedicatedHostFluent implements VisitableBuilder{
  public DedicatedHostBuilder() {
    this(new DedicatedHost());
  }
  
  public DedicatedHostBuilder(DedicatedHostFluent fluent) {
    this(fluent, new DedicatedHost());
  }
  
  public DedicatedHostBuilder(DedicatedHostFluent fluent,DedicatedHost instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public DedicatedHostBuilder(DedicatedHost instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  DedicatedHostFluent fluent;
  
  public DedicatedHost build() {
    DedicatedHost buildable = new DedicatedHost(fluent.getName(),fluent.getProfile());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy