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

io.kroxylicious.proxy.config.secret.FilePasswordFluent Maven / Gradle / Ivy

package io.kroxylicious.proxy.config.secret;

import java.lang.SuppressWarnings;
import io.kroxylicious.proxy.config.model.BaseFluent;
import java.lang.Object;
import java.lang.String;

/**
 * Generated
 */
@SuppressWarnings("unchecked")
public class FilePasswordFluent> extends BaseFluent{
  public FilePasswordFluent() {
  }
  
  public FilePasswordFluent(FilePassword instance) {
    this.copyInstance(instance);
  }
  private String passwordFile;
  
  protected void copyInstance(FilePassword instance) {
    if (instance != null) {
          this.withPasswordFile(instance.passwordFile());
        }
  }
  
  public String getPasswordFile() {
    return this.passwordFile;
  }
  
  public A withPasswordFile(String passwordFile) {
    this.passwordFile = passwordFile;
    return (A) this;
  }
  
  public boolean hasPasswordFile() {
    return this.passwordFile != null;
  }
  
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    if (!super.equals(o)) return false;
    FilePasswordFluent that = (FilePasswordFluent) o;
    if (!java.util.Objects.equals(passwordFile, that.passwordFile)) return false;
    return true;
  }
  
  public int hashCode() {
    return java.util.Objects.hash(passwordFile,  super.hashCode());
  }
  
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("{");
    if (passwordFile != null) { sb.append("passwordFile:"); sb.append(passwordFile); }
    sb.append("}");
    return sb.toString();
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy