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

io.fabric8.kubernetes.api.model.batch.v1.CronJobStatusBuilder Maven / Gradle / Ivy

package io.fabric8.kubernetes.api.model.batch.v1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class CronJobStatusBuilder extends CronJobStatusFluent implements VisitableBuilder{
  public CronJobStatusBuilder() {
    this(new CronJobStatus());
  }
  
  public CronJobStatusBuilder(CronJobStatusFluent fluent) {
    this(fluent, new CronJobStatus());
  }
  
  public CronJobStatusBuilder(CronJobStatusFluent fluent,CronJobStatus instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public CronJobStatusBuilder(CronJobStatus instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  CronJobStatusFluent fluent;
  
  public CronJobStatus build() {
    CronJobStatus buildable = new CronJobStatus(fluent.buildActive(),fluent.getLastScheduleTime(),fluent.getLastSuccessfulTime());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy