io.fabric8.openshift.api.model.machine.v1beta1.ProviderSpecBuilder Maven / Gradle / Ivy
package io.fabric8.openshift.api.model.machine.v1beta1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class ProviderSpecBuilder extends ProviderSpecFluent implements VisitableBuilder{
public ProviderSpecBuilder() {
this(new ProviderSpec());
}
public ProviderSpecBuilder(ProviderSpecFluent> fluent) {
this(fluent, new ProviderSpec());
}
public ProviderSpecBuilder(ProviderSpecFluent> fluent,ProviderSpec instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public ProviderSpecBuilder(ProviderSpec instance) {
this.fluent = this;
this.copyInstance(instance);
}
ProviderSpecFluent> fluent;
public ProviderSpec build() {
ProviderSpec buildable = new ProviderSpec(fluent.getValue());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy