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

io.fabric8.openshift.api.model.whereabouts.v1alpha1.OverlappingRangeIPReservationBuilder Maven / Gradle / Ivy

There is a newer version: 6.13.4
Show newest version
package io.fabric8.openshift.api.model.whereabouts.v1alpha1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.lang.Boolean;
public class OverlappingRangeIPReservationBuilder extends OverlappingRangeIPReservationFluentImpl implements VisitableBuilder{
  public OverlappingRangeIPReservationBuilder() {
    this(false);
  }
  public OverlappingRangeIPReservationBuilder(Boolean validationEnabled) {
    this(new OverlappingRangeIPReservation(), validationEnabled);
  }
  public OverlappingRangeIPReservationBuilder(OverlappingRangeIPReservationFluent fluent) {
    this(fluent, false);
  }
  public OverlappingRangeIPReservationBuilder(OverlappingRangeIPReservationFluent fluent,Boolean validationEnabled) {
    this(fluent, new OverlappingRangeIPReservation(), validationEnabled);
  }
  public OverlappingRangeIPReservationBuilder(OverlappingRangeIPReservationFluent fluent,OverlappingRangeIPReservation instance) {
    this(fluent, instance, false);
  }
  public OverlappingRangeIPReservationBuilder(OverlappingRangeIPReservationFluent fluent,OverlappingRangeIPReservation instance,Boolean validationEnabled) {
    this.fluent = fluent; 
    fluent.withApiVersion(instance.getApiVersion()); 
    fluent.withKind(instance.getKind()); 
    fluent.withMetadata(instance.getMetadata()); 
    fluent.withSpec(instance.getSpec()); 
    fluent.withAdditionalProperties(instance.getAdditionalProperties());

    this.validationEnabled = validationEnabled; 
  }
  public OverlappingRangeIPReservationBuilder(OverlappingRangeIPReservation instance) {
    this(instance,false);
  }
  public OverlappingRangeIPReservationBuilder(OverlappingRangeIPReservation instance,Boolean validationEnabled) {
    this.fluent = this; 
    this.withApiVersion(instance.getApiVersion()); 
    this.withKind(instance.getKind()); 
    this.withMetadata(instance.getMetadata()); 
    this.withSpec(instance.getSpec()); 
    this.withAdditionalProperties(instance.getAdditionalProperties());

    this.validationEnabled = validationEnabled; 
  }
  OverlappingRangeIPReservationFluent fluent;
  Boolean validationEnabled;
  public OverlappingRangeIPReservation build() {
    OverlappingRangeIPReservation buildable = new OverlappingRangeIPReservation(fluent.getApiVersion(),fluent.getKind(),fluent.getMetadata(),fluent.getSpec());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy