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