All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.strimzi.api.kafka.model.common.PasswordSourceBuilder Maven / Gradle / Ivy

There is a newer version: 0.44.0
Show newest version
package io.strimzi.api.kafka.model.common;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class PasswordSourceBuilder extends PasswordSourceFluent implements VisitableBuilder{
  public PasswordSourceBuilder() {
    this(new PasswordSource());
  }
  
  public PasswordSourceBuilder(PasswordSourceFluent fluent) {
    this(fluent, new PasswordSource());
  }
  
  public PasswordSourceBuilder(PasswordSourceFluent fluent,PasswordSource instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public PasswordSourceBuilder(PasswordSource instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  PasswordSourceFluent fluent;
  
  public PasswordSource build() {
    PasswordSource buildable = new PasswordSource();
    buildable.setSecretKeyRef(fluent.getSecretKeyRef());
    return buildable;
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy