io.kubernetes.client.openapi.models.V1beta1DeviceRequestAllocationResultBuilder Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
public class V1beta1DeviceRequestAllocationResultBuilder extends V1beta1DeviceRequestAllocationResultFluent implements VisitableBuilder{
public V1beta1DeviceRequestAllocationResultBuilder() {
this(new V1beta1DeviceRequestAllocationResult());
}
public V1beta1DeviceRequestAllocationResultBuilder(V1beta1DeviceRequestAllocationResultFluent> fluent) {
this(fluent, new V1beta1DeviceRequestAllocationResult());
}
public V1beta1DeviceRequestAllocationResultBuilder(V1beta1DeviceRequestAllocationResultFluent> fluent,V1beta1DeviceRequestAllocationResult instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public V1beta1DeviceRequestAllocationResultBuilder(V1beta1DeviceRequestAllocationResult instance) {
this.fluent = this;
this.copyInstance(instance);
}
V1beta1DeviceRequestAllocationResultFluent> fluent;
public V1beta1DeviceRequestAllocationResult build() {
V1beta1DeviceRequestAllocationResult buildable = new V1beta1DeviceRequestAllocationResult();
buildable.setAdminAccess(fluent.getAdminAccess());
buildable.setDevice(fluent.getDevice());
buildable.setDriver(fluent.getDriver());
buildable.setPool(fluent.getPool());
buildable.setRequest(fluent.getRequest());
return buildable;
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy