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

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

package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.VisitableBuilder;
public class V1NonResourceRuleBuilder extends V1NonResourceRuleFluent implements VisitableBuilder{
  public V1NonResourceRuleBuilder() {
    this(new V1NonResourceRule());
  }
  
  public V1NonResourceRuleBuilder(V1NonResourceRuleFluent fluent) {
    this(fluent, new V1NonResourceRule());
  }
  
  public V1NonResourceRuleBuilder(V1NonResourceRuleFluent fluent,V1NonResourceRule instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1NonResourceRuleBuilder(V1NonResourceRule instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1NonResourceRuleFluent fluent;
  
  public V1NonResourceRule build() {
    V1NonResourceRule buildable = new V1NonResourceRule();
    buildable.setNonResourceURLs(fluent.getNonResourceURLs());
    buildable.setVerbs(fluent.getVerbs());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy