io.github.microcks.operator.api.base.v1alpha1.GenericBrokerConnectionSpecBuilder Maven / Gradle / Ivy
package io.github.microcks.operator.api.base.v1alpha1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class GenericBrokerConnectionSpecBuilder extends GenericBrokerConnectionSpecFluent implements VisitableBuilder{
public GenericBrokerConnectionSpecBuilder() {
this(new GenericBrokerConnectionSpec());
}
public GenericBrokerConnectionSpecBuilder(GenericBrokerConnectionSpecFluent> fluent) {
this(fluent, new GenericBrokerConnectionSpec());
}
public GenericBrokerConnectionSpecBuilder(GenericBrokerConnectionSpecFluent> fluent,GenericBrokerConnectionSpec instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public GenericBrokerConnectionSpecBuilder(GenericBrokerConnectionSpec instance) {
this.fluent = this;
this.copyInstance(instance);
}
GenericBrokerConnectionSpecFluent> fluent;
public GenericBrokerConnectionSpec build() {
GenericBrokerConnectionSpec buildable = new GenericBrokerConnectionSpec();
buildable.setUrl(fluent.getUrl());
buildable.setUsername(fluent.getUsername());
buildable.setPassword(fluent.getPassword());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy