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

io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.VLANBuilder Maven / Gradle / Ivy

The newest version!
package io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class VLANBuilder extends VLANFluent implements VisitableBuilder{
  public VLANBuilder() {
    this(new VLAN());
  }
  
  public VLANBuilder(VLANFluent fluent) {
    this(fluent, new VLAN());
  }
  
  public VLANBuilder(VLANFluent fluent,VLAN instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public VLANBuilder(VLAN instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  VLANFluent fluent;
  
  public VLAN build() {
    VLAN buildable = new VLAN(fluent.getId(),fluent.getName());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy