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

io.kubernetes.client.openapi.models.V1PodDNSConfigBuilder 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 V1PodDNSConfigBuilder extends V1PodDNSConfigFluent implements VisitableBuilder{
  public V1PodDNSConfigBuilder() {
    this(new V1PodDNSConfig());
  }
  
  public V1PodDNSConfigBuilder(V1PodDNSConfigFluent fluent) {
    this(fluent, new V1PodDNSConfig());
  }
  
  public V1PodDNSConfigBuilder(V1PodDNSConfigFluent fluent,V1PodDNSConfig instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1PodDNSConfigBuilder(V1PodDNSConfig instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1PodDNSConfigFluent fluent;
  
  public V1PodDNSConfig build() {
    V1PodDNSConfig buildable = new V1PodDNSConfig();
    buildable.setNameservers(fluent.getNameservers());
    buildable.setOptions(fluent.buildOptions());
    buildable.setSearches(fluent.getSearches());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy