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

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

package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.VisitableBuilder;
public class V1alpha1GroupVersionResourceBuilder extends V1alpha1GroupVersionResourceFluent implements VisitableBuilder{
  public V1alpha1GroupVersionResourceBuilder() {
    this(new V1alpha1GroupVersionResource());
  }
  
  public V1alpha1GroupVersionResourceBuilder(V1alpha1GroupVersionResourceFluent fluent) {
    this(fluent, new V1alpha1GroupVersionResource());
  }
  
  public V1alpha1GroupVersionResourceBuilder(V1alpha1GroupVersionResourceFluent fluent,V1alpha1GroupVersionResource instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1alpha1GroupVersionResourceBuilder(V1alpha1GroupVersionResource instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1alpha1GroupVersionResourceFluent fluent;
  
  public V1alpha1GroupVersionResource build() {
    V1alpha1GroupVersionResource buildable = new V1alpha1GroupVersionResource();
    buildable.setGroup(fluent.getGroup());
    buildable.setResource(fluent.getResource());
    buildable.setVersion(fluent.getVersion());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy