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

io.kubernetes.client.openapi.models.V1LifecycleHandlerBuilder Maven / Gradle / Ivy

There is a newer version: 22.0.0
Show newest version
package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.VisitableBuilder;
public class V1LifecycleHandlerBuilder extends V1LifecycleHandlerFluent implements VisitableBuilder{
  public V1LifecycleHandlerBuilder() {
    this(new V1LifecycleHandler());
  }
  
  public V1LifecycleHandlerBuilder(V1LifecycleHandlerFluent fluent) {
    this(fluent, new V1LifecycleHandler());
  }
  
  public V1LifecycleHandlerBuilder(V1LifecycleHandlerFluent fluent,V1LifecycleHandler instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1LifecycleHandlerBuilder(V1LifecycleHandler instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1LifecycleHandlerFluent fluent;
  
  public V1LifecycleHandler build() {
    V1LifecycleHandler buildable = new V1LifecycleHandler();
    buildable.setExec(fluent.buildExec());
    buildable.setHttpGet(fluent.buildHttpGet());
    buildable.setSleep(fluent.buildSleep());
    buildable.setTcpSocket(fluent.buildTcpSocket());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy