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

io.fabric8.knative.flows.v1.ParallelStatusBuilder Maven / Gradle / Ivy

package io.fabric8.knative.flows.v1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.lang.Boolean;
public class ParallelStatusBuilder extends ParallelStatusFluentImpl implements VisitableBuilder{
  public ParallelStatusBuilder() {
    this(false);
  }
  public ParallelStatusBuilder(Boolean validationEnabled) {
    this(new ParallelStatus(), validationEnabled);
  }
  public ParallelStatusBuilder(ParallelStatusFluent fluent) {
    this(fluent, false);
  }
  public ParallelStatusBuilder(io.fabric8.knative.flows.v1.ParallelStatusFluent fluent,java.lang.Boolean validationEnabled) {
    this(fluent, new ParallelStatus(), validationEnabled);
  }
  public ParallelStatusBuilder(io.fabric8.knative.flows.v1.ParallelStatusFluent fluent,io.fabric8.knative.flows.v1.ParallelStatus instance) {
    this(fluent, instance, false);
  }
  public ParallelStatusBuilder(io.fabric8.knative.flows.v1.ParallelStatusFluent fluent,io.fabric8.knative.flows.v1.ParallelStatus instance,java.lang.Boolean validationEnabled) {
    this.fluent = fluent; 
    fluent.withAddress(instance.getAddress()); 
    fluent.withAnnotations(instance.getAnnotations()); 
    fluent.withBranchStatuses(instance.getBranchStatuses()); 
    fluent.withConditions(instance.getConditions()); 
    fluent.withIngressChannelStatus(instance.getIngressChannelStatus()); 
    fluent.withObservedGeneration(instance.getObservedGeneration()); 
    this.validationEnabled = validationEnabled; 
  }
  public ParallelStatusBuilder(io.fabric8.knative.flows.v1.ParallelStatus instance) {
    this(instance,false);
  }
  public ParallelStatusBuilder(io.fabric8.knative.flows.v1.ParallelStatus instance,java.lang.Boolean validationEnabled) {
    this.fluent = this; 
    this.withAddress(instance.getAddress()); 
    this.withAnnotations(instance.getAnnotations()); 
    this.withBranchStatuses(instance.getBranchStatuses()); 
    this.withConditions(instance.getConditions()); 
    this.withIngressChannelStatus(instance.getIngressChannelStatus()); 
    this.withObservedGeneration(instance.getObservedGeneration()); 
    this.validationEnabled = validationEnabled; 
  }
  io.fabric8.knative.flows.v1.ParallelStatusFluent fluent;
  java.lang.Boolean validationEnabled;
  public io.fabric8.knative.flows.v1.ParallelStatus build() {
    ParallelStatus buildable = new ParallelStatus(fluent.getAddress(),fluent.getAnnotations(),fluent.getBranchStatuses(),fluent.getConditions(),fluent.getIngressChannelStatus(),fluent.getObservedGeneration());
    return buildable;
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy