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

io.sundr.model.PrimitiveRefBuilder Maven / Gradle / Ivy

There is a newer version: 0.200.3
Show newest version
package io.sundr.model;

import io.sundr.builder.VisitableBuilder;
public class PrimitiveRefBuilder extends PrimitiveRefFluent implements VisitableBuilder{
  public PrimitiveRefBuilder() {
    this.fluent = this;
  }
  
  public PrimitiveRefBuilder(PrimitiveRefFluent fluent) {
    this.fluent = fluent;
  }
  
  public PrimitiveRefBuilder(PrimitiveRefFluent fluent,PrimitiveRef instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public PrimitiveRefBuilder(PrimitiveRef instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  PrimitiveRefFluent fluent;
  
  public PrimitiveRef build() {
    PrimitiveRef buildable = new PrimitiveRef(fluent.getName(),fluent.getDimensions(),fluent.getAttributes());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy