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

io.fabric8.openshift.api.model.console.v1.ConsoleNotificationSpecBuilder Maven / Gradle / Ivy

package io.fabric8.openshift.api.model.console.v1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class ConsoleNotificationSpecBuilder extends ConsoleNotificationSpecFluent implements VisitableBuilder{
  public ConsoleNotificationSpecBuilder() {
    this(new ConsoleNotificationSpec());
  }
  
  public ConsoleNotificationSpecBuilder(ConsoleNotificationSpecFluent fluent) {
    this(fluent, new ConsoleNotificationSpec());
  }
  
  public ConsoleNotificationSpecBuilder(ConsoleNotificationSpecFluent fluent,ConsoleNotificationSpec instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public ConsoleNotificationSpecBuilder(ConsoleNotificationSpec instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  ConsoleNotificationSpecFluent fluent;
  
  public ConsoleNotificationSpec build() {
    ConsoleNotificationSpec buildable = new ConsoleNotificationSpec(fluent.getBackgroundColor(),fluent.getColor(),fluent.buildLink(),fluent.getLocation(),fluent.getText());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy