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

io.kubernetes.client.openapi.models.V1TCPSocketActionBuilder 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;
import java.lang.Boolean;
public class V1TCPSocketActionBuilder extends V1TCPSocketActionFluentImpl implements VisitableBuilder{
  public V1TCPSocketActionBuilder() {
    this(false);
  }
  public V1TCPSocketActionBuilder(Boolean validationEnabled) {
    this(new V1TCPSocketAction(), validationEnabled);
  }
  public V1TCPSocketActionBuilder(V1TCPSocketActionFluent fluent) {
    this(fluent, false);
  }
  public V1TCPSocketActionBuilder(V1TCPSocketActionFluent fluent,Boolean validationEnabled) {
    this(fluent, new V1TCPSocketAction(), validationEnabled);
  }
  public V1TCPSocketActionBuilder(V1TCPSocketActionFluent fluent,V1TCPSocketAction instance) {
    this(fluent, instance, false);
  }
  public V1TCPSocketActionBuilder(V1TCPSocketActionFluent fluent,V1TCPSocketAction instance,Boolean validationEnabled) {
    this.fluent = fluent; 
    fluent.withHost(instance.getHost());

    fluent.withPort(instance.getPort());

    this.validationEnabled = validationEnabled; 
  }
  public V1TCPSocketActionBuilder(V1TCPSocketAction instance) {
    this(instance,false);
  }
  public V1TCPSocketActionBuilder(V1TCPSocketAction instance,Boolean validationEnabled) {
    this.fluent = this; 
    this.withHost(instance.getHost());

    this.withPort(instance.getPort());

    this.validationEnabled = validationEnabled; 
  }
  V1TCPSocketActionFluent fluent;
  Boolean validationEnabled;
  public V1TCPSocketAction build() {
    V1TCPSocketAction buildable = new V1TCPSocketAction();
    buildable.setHost(fluent.getHost());
    buildable.setPort(fluent.getPort());
    return buildable;
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy