io.kroxylicious.proxy.config.secret.InlinePasswordBuilder Maven / Gradle / Ivy
package io.kroxylicious.proxy.config.secret;
import io.kroxylicious.proxy.config.model.VisitableBuilder;
public class InlinePasswordBuilder extends InlinePasswordFluent implements VisitableBuilder{
public InlinePasswordBuilder() {
this.fluent = this;
}
public InlinePasswordBuilder(InlinePasswordFluent> fluent) {
this.fluent = fluent;
}
public InlinePasswordBuilder(InlinePasswordFluent> fluent,InlinePassword instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public InlinePasswordBuilder(InlinePassword instance) {
this.fluent = this;
this.copyInstance(instance);
}
InlinePasswordFluent> fluent;
public InlinePassword build() {
InlinePassword buildable = new InlinePassword(fluent.getPassword());
return buildable;
}
}