io.fabric8.openshift.api.model.whereabouts.v1alpha1.OverlappingRangeIPReservationSpecBuilder Maven / Gradle / Ivy
package io.fabric8.openshift.api.model.whereabouts.v1alpha1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class OverlappingRangeIPReservationSpecBuilder extends OverlappingRangeIPReservationSpecFluent implements VisitableBuilder{
public OverlappingRangeIPReservationSpecBuilder() {
this(new OverlappingRangeIPReservationSpec());
}
public OverlappingRangeIPReservationSpecBuilder(OverlappingRangeIPReservationSpecFluent> fluent) {
this(fluent, new OverlappingRangeIPReservationSpec());
}
public OverlappingRangeIPReservationSpecBuilder(OverlappingRangeIPReservationSpecFluent> fluent,OverlappingRangeIPReservationSpec instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public OverlappingRangeIPReservationSpecBuilder(OverlappingRangeIPReservationSpec instance) {
this.fluent = this;
this.copyInstance(instance);
}
OverlappingRangeIPReservationSpecFluent> fluent;
public OverlappingRangeIPReservationSpec build() {
OverlappingRangeIPReservationSpec buildable = new OverlappingRangeIPReservationSpec(fluent.getContainerid(),fluent.getPodref());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}