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

io.kubernetes.client.openapi.models.AdmissionregistrationV1WebhookClientConfigBuilder 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 AdmissionregistrationV1WebhookClientConfigBuilder extends AdmissionregistrationV1WebhookClientConfigFluentImpl implements VisitableBuilder{
  public AdmissionregistrationV1WebhookClientConfigBuilder() {
    this(false);
  }
  public AdmissionregistrationV1WebhookClientConfigBuilder(Boolean validationEnabled) {
    this(new AdmissionregistrationV1WebhookClientConfig(), validationEnabled);
  }
  public AdmissionregistrationV1WebhookClientConfigBuilder(AdmissionregistrationV1WebhookClientConfigFluent fluent) {
    this(fluent, false);
  }
  public AdmissionregistrationV1WebhookClientConfigBuilder(AdmissionregistrationV1WebhookClientConfigFluent fluent,Boolean validationEnabled) {
    this(fluent, new AdmissionregistrationV1WebhookClientConfig(), validationEnabled);
  }
  public AdmissionregistrationV1WebhookClientConfigBuilder(AdmissionregistrationV1WebhookClientConfigFluent fluent,AdmissionregistrationV1WebhookClientConfig instance) {
    this(fluent, instance, false);
  }
  public AdmissionregistrationV1WebhookClientConfigBuilder(AdmissionregistrationV1WebhookClientConfigFluent fluent,AdmissionregistrationV1WebhookClientConfig instance,Boolean validationEnabled) {
    this.fluent = fluent; 
    if (instance != null) {
      fluent.withCaBundle(instance.getCaBundle());
      fluent.withService(instance.getService());
      fluent.withUrl(instance.getUrl());
    }
    this.validationEnabled = validationEnabled; 
  }
  public AdmissionregistrationV1WebhookClientConfigBuilder(AdmissionregistrationV1WebhookClientConfig instance) {
    this(instance,false);
  }
  public AdmissionregistrationV1WebhookClientConfigBuilder(AdmissionregistrationV1WebhookClientConfig instance,Boolean validationEnabled) {
    this.fluent = this; 
    if (instance != null) {
      this.withCaBundle(instance.getCaBundle());
      this.withService(instance.getService());
      this.withUrl(instance.getUrl());
    }
    this.validationEnabled = validationEnabled; 
  }
  AdmissionregistrationV1WebhookClientConfigFluent fluent;
  Boolean validationEnabled;
  public AdmissionregistrationV1WebhookClientConfig build() {
    AdmissionregistrationV1WebhookClientConfig buildable = new AdmissionregistrationV1WebhookClientConfig();
    buildable.setCaBundle(fluent.getCaBundle());
    buildable.setService(fluent.getService());
    buildable.setUrl(fluent.getUrl());
    return buildable;
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy