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

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

The newest version!
package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.VisitableBuilder;
public class V1beta2AllocatedDeviceStatusBuilder extends V1beta2AllocatedDeviceStatusFluent implements VisitableBuilder{
  public V1beta2AllocatedDeviceStatusBuilder() {
    this(new V1beta2AllocatedDeviceStatus());
  }
  
  public V1beta2AllocatedDeviceStatusBuilder(V1beta2AllocatedDeviceStatusFluent fluent) {
    this(fluent, new V1beta2AllocatedDeviceStatus());
  }
  
  public V1beta2AllocatedDeviceStatusBuilder(V1beta2AllocatedDeviceStatusFluent fluent,V1beta2AllocatedDeviceStatus instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1beta2AllocatedDeviceStatusBuilder(V1beta2AllocatedDeviceStatus instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1beta2AllocatedDeviceStatusFluent fluent;
  
  public V1beta2AllocatedDeviceStatus build() {
    V1beta2AllocatedDeviceStatus buildable = new V1beta2AllocatedDeviceStatus();
    buildable.setConditions(fluent.buildConditions());
    buildable.setData(fluent.getData());
    buildable.setDevice(fluent.getDevice());
    buildable.setDriver(fluent.getDriver());
    buildable.setNetworkData(fluent.buildNetworkData());
    buildable.setPool(fluent.getPool());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy