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

io.dekorate.docker.config.DockerBuildConfigFluentImpl Maven / Gradle / Ivy

package io.dekorate.docker.config;

import io.dekorate.kubernetes.config.ImageConfigurationFluentImpl;
import java.lang.SuppressWarnings;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;

 /**
  * Generated
  */
  @SuppressWarnings(value = "unchecked")
  public class DockerBuildConfigFluentImpl> extends ImageConfigurationFluentImpl implements DockerBuildConfigFluent{
  public DockerBuildConfigFluentImpl() {
  }
  public DockerBuildConfigFluentImpl(DockerBuildConfig instance) {
    this.withProject(instance.getProject()); 
    this.withAttributes(instance.getAttributes()); 
    this.withEnabled(instance.getEnabled()); 
    this.withRegistry(instance.getRegistry()); 
    this.withGroup(instance.getGroup()); 
    this.withName(instance.getName()); 
    this.withVersion(instance.getVersion()); 
    this.withImage(instance.getImage()); 
    this.withDockerFile(instance.getDockerFile()); 
    this.withAutoBuildEnabled(instance.getAutoBuildEnabled()); 
    this.withAutoPushEnabled(instance.getAutoPushEnabled()); 
    this.withAutoLoadEnabled(instance.isAutoLoadEnabled()); 
    this.withAutoDeployEnabled(instance.getAutoDeployEnabled()); 
  }
  private Boolean autoDeployEnabled;
  public Boolean getAutoDeployEnabled() {
    return this.autoDeployEnabled;
  }
  public A withAutoDeployEnabled(Boolean autoDeployEnabled) {
    this.autoDeployEnabled=autoDeployEnabled; return (A) this;
  }
  public Boolean hasAutoDeployEnabled() {
    return this.autoDeployEnabled != 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;
    DockerBuildConfigFluentImpl that = (DockerBuildConfigFluentImpl) o;
    if (autoDeployEnabled != null ? !autoDeployEnabled.equals(that.autoDeployEnabled) :that.autoDeployEnabled != null) return false;
    return true;
  }
  public int hashCode() {
    return java.util.Objects.hash(autoDeployEnabled,  super.hashCode());
  }
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("{");
    if (autoDeployEnabled != null) { sb.append("autoDeployEnabled:"); sb.append(autoDeployEnabled); }
    sb.append("}");
    return sb.toString();
  }
  public A withAutoDeployEnabled() {
    return withAutoDeployEnabled(true);
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy