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

io.fabric8.tekton.triggers.v1alpha1.InterceptorStatusBuilder Maven / Gradle / Ivy

package io.fabric8.tekton.triggers.v1alpha1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class InterceptorStatusBuilder extends InterceptorStatusFluent implements VisitableBuilder{
  public InterceptorStatusBuilder() {
    this(new InterceptorStatus());
  }
  
  public InterceptorStatusBuilder(InterceptorStatusFluent fluent) {
    this(fluent, new InterceptorStatus());
  }
  
  public InterceptorStatusBuilder(InterceptorStatusFluent fluent,InterceptorStatus instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public InterceptorStatusBuilder(InterceptorStatus instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  InterceptorStatusFluent fluent;
  
  public InterceptorStatus build() {
    InterceptorStatus buildable = new InterceptorStatus(fluent.getAddress(),fluent.getAnnotations(),fluent.getConditions(),fluent.getObservedGeneration());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy