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

io.kubernetes.client.openapi.models.V1CapabilitiesBuilder 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 V1CapabilitiesBuilder extends V1CapabilitiesFluent implements VisitableBuilder{
  public V1CapabilitiesBuilder() {
    this(new V1Capabilities());
  }
  
  public V1CapabilitiesBuilder(V1CapabilitiesFluent fluent) {
    this(fluent, new V1Capabilities());
  }
  
  public V1CapabilitiesBuilder(V1CapabilitiesFluent fluent,V1Capabilities instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1CapabilitiesBuilder(V1Capabilities instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1CapabilitiesFluent fluent;
  
  public V1Capabilities build() {
    V1Capabilities buildable = new V1Capabilities();
    buildable.setAdd(fluent.getAdd());
    buildable.setDrop(fluent.getDrop());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy