io.fabric8.openshift.api.model.whereabouts.v1alpha1.OverlappingRangeIPReservationBuilder Maven / Gradle / Ivy
The newest version!
package io.fabric8.openshift.api.model.whereabouts.v1alpha1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class OverlappingRangeIPReservationBuilder extends OverlappingRangeIPReservationFluent implements VisitableBuilder{
public OverlappingRangeIPReservationBuilder() {
this(new OverlappingRangeIPReservation());
}
public OverlappingRangeIPReservationBuilder(OverlappingRangeIPReservationFluent> fluent) {
this(fluent, new OverlappingRangeIPReservation());
}
public OverlappingRangeIPReservationBuilder(OverlappingRangeIPReservationFluent> fluent,OverlappingRangeIPReservation instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public OverlappingRangeIPReservationBuilder(OverlappingRangeIPReservation instance) {
this.fluent = this;
this.copyInstance(instance);
}
OverlappingRangeIPReservationFluent> fluent;
public OverlappingRangeIPReservation build() {
OverlappingRangeIPReservation buildable = new OverlappingRangeIPReservation(fluent.getApiVersion(),fluent.getKind(),fluent.buildMetadata(),fluent.buildSpec());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}