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

io.fabric8.kubernetes.api.model.authentication.BoundObjectReferenceBuilder Maven / Gradle / Ivy

package io.fabric8.kubernetes.api.model.authentication;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class BoundObjectReferenceBuilder extends BoundObjectReferenceFluent implements VisitableBuilder{
  public BoundObjectReferenceBuilder() {
    this(new BoundObjectReference());
  }
  
  public BoundObjectReferenceBuilder(BoundObjectReferenceFluent fluent) {
    this(fluent, new BoundObjectReference());
  }
  
  public BoundObjectReferenceBuilder(BoundObjectReferenceFluent fluent,BoundObjectReference instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public BoundObjectReferenceBuilder(BoundObjectReference instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  BoundObjectReferenceFluent fluent;
  
  public BoundObjectReference build() {
    BoundObjectReference buildable = new BoundObjectReference(fluent.getApiVersion(),fluent.getKind(),fluent.getName(),fluent.getUid());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy