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

io.dekorate.testing.config.KubernetesIntegrationTestConfigBuilder Maven / Gradle / Ivy

There is a newer version: 4.1.4
Show newest version
package io.dekorate.testing.config;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.lang.Object;
import java.lang.Boolean;

 /**
  * Generated
  */
public class KubernetesIntegrationTestConfigBuilder extends io.dekorate.testing.config.KubernetesIntegrationTestConfigFluentImpl implements io.fabric8.kubernetes.api.builder.VisitableBuilder{
  public KubernetesIntegrationTestConfigBuilder() {
    this(false);
  }
  public KubernetesIntegrationTestConfigBuilder(java.lang.Boolean validationEnabled) {
    this(new KubernetesIntegrationTestConfig(), validationEnabled);
  }
  public KubernetesIntegrationTestConfigBuilder(io.dekorate.testing.config.KubernetesIntegrationTestConfigFluent fluent) {
    this(fluent, false);
  }
  public KubernetesIntegrationTestConfigBuilder(io.dekorate.testing.config.KubernetesIntegrationTestConfigFluent fluent,java.lang.Boolean validationEnabled) {
    this(fluent, new KubernetesIntegrationTestConfig(), validationEnabled);
  }
  public KubernetesIntegrationTestConfigBuilder(io.dekorate.testing.config.KubernetesIntegrationTestConfigFluent fluent,io.dekorate.testing.config.KubernetesIntegrationTestConfig instance) {
    this(fluent, instance, false);
  }
  public KubernetesIntegrationTestConfigBuilder(io.dekorate.testing.config.KubernetesIntegrationTestConfigFluent fluent,io.dekorate.testing.config.KubernetesIntegrationTestConfig instance,java.lang.Boolean validationEnabled) {
    this.fluent = fluent; 
    fluent.withDeployEnabled(instance.isDeployEnabled()); 
    fluent.withBuildEnabled(instance.isBuildEnabled()); 
    fluent.withReadinessTimeout(instance.getReadinessTimeout()); 
    fluent.withAdditionalModules(instance.getAdditionalModules()); 
    this.validationEnabled = validationEnabled; 
  }
  public KubernetesIntegrationTestConfigBuilder(io.dekorate.testing.config.KubernetesIntegrationTestConfig instance) {
    this(instance,false);
  }
  public KubernetesIntegrationTestConfigBuilder(io.dekorate.testing.config.KubernetesIntegrationTestConfig instance,java.lang.Boolean validationEnabled) {
    this.fluent = this; 
    this.withDeployEnabled(instance.isDeployEnabled()); 
    this.withBuildEnabled(instance.isBuildEnabled()); 
    this.withReadinessTimeout(instance.getReadinessTimeout()); 
    this.withAdditionalModules(instance.getAdditionalModules()); 
    this.validationEnabled = validationEnabled; 
  }
  io.dekorate.testing.config.KubernetesIntegrationTestConfigFluent fluent;
  java.lang.Boolean validationEnabled;
  public io.dekorate.testing.config.EditableKubernetesIntegrationTestConfig build() {
    EditableKubernetesIntegrationTestConfig buildable = new EditableKubernetesIntegrationTestConfig(fluent.isDeployEnabled(),fluent.isBuildEnabled(),fluent.getReadinessTimeout(),fluent.getAdditionalModules());
    return buildable;
  }
  public boolean equals(java.lang.Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    if (!super.equals(o)) return false;
    KubernetesIntegrationTestConfigBuilder that = (KubernetesIntegrationTestConfigBuilder) o;
    if (fluent != null &&fluent != this ? !fluent.equals(that.fluent) :that.fluent != null &&fluent != this ) return false;

    if (validationEnabled != null ? !validationEnabled.equals(that.validationEnabled) :that.validationEnabled != null) return false;
    return true;
  }
  public int hashCode() {
    return java.util.Objects.hash(fluent,  validationEnabled,  super.hashCode());
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy