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

io.dekorate.openshift.config.OpenshiftConfigBuilder Maven / Gradle / Ivy

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

import io.fabric8.kubernetes.api.builder.VisitableBuilder;

/**
 * Generated
 */
public class OpenshiftConfigBuilder extends OpenshiftConfigFluent implements VisitableBuilder{
  public OpenshiftConfigBuilder() {
    this(new OpenshiftConfig());
  }
  
  public OpenshiftConfigBuilder(OpenshiftConfigFluent fluent) {
    this(fluent, new OpenshiftConfig());
  }
  
  public OpenshiftConfigBuilder(OpenshiftConfigFluent fluent,OpenshiftConfig instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public OpenshiftConfigBuilder(OpenshiftConfig instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  OpenshiftConfigFluent fluent;
  
  public EditableOpenshiftConfig build() {
    EditableOpenshiftConfig buildable = new EditableOpenshiftConfig(fluent.buildProject(),fluent.getAttributes(),fluent.getPartOf(),fluent.getName(),fluent.getVersion(),fluent.getDeploymentKind(),fluent.buildLabels(),fluent.buildAnnotations(),fluent.buildEnvVars(),fluent.getWorkingDir(),fluent.getCommand(),fluent.getArguments(),fluent.getServiceAccount(),fluent.buildPorts(),fluent.getServiceType(),fluent.buildPvcVolumes(),fluent.buildSecretVolumes(),fluent.buildConfigMapVolumes(),fluent.buildEmptyDirVolumes(),fluent.buildGitRepoVolumes(),fluent.buildAwsElasticBlockStoreVolumes(),fluent.buildAzureDiskVolumes(),fluent.buildAzureFileVolumes(),fluent.buildMounts(),fluent.getImagePullPolicy(),fluent.getImagePullSecrets(),fluent.getDeploymentStrategy(),fluent.buildRollingUpdate(),fluent.buildHostAliases(),fluent.buildLivenessProbe(),fluent.buildReadinessProbe(),fluent.buildStartupProbe(),fluent.buildRequestResources(),fluent.buildLimitResources(),fluent.buildSidecars(),fluent.getAutoDeployEnabled(),fluent.buildJobs(),fluent.buildCronJobs(),fluent.buildInitContainers(),fluent.getReplicas(),fluent.buildRoute(),fluent.getHeadless());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy