io.kubernetes.client.openapi.models.V1beta2AllocationResultBuilder Maven / Gradle / Ivy
The newest version!
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
public class V1beta2AllocationResultBuilder extends V1beta2AllocationResultFluent implements VisitableBuilder{
public V1beta2AllocationResultBuilder() {
this(new V1beta2AllocationResult());
}
public V1beta2AllocationResultBuilder(V1beta2AllocationResultFluent> fluent) {
this(fluent, new V1beta2AllocationResult());
}
public V1beta2AllocationResultBuilder(V1beta2AllocationResultFluent> fluent,V1beta2AllocationResult instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public V1beta2AllocationResultBuilder(V1beta2AllocationResult instance) {
this.fluent = this;
this.copyInstance(instance);
}
V1beta2AllocationResultFluent> fluent;
public V1beta2AllocationResult build() {
V1beta2AllocationResult buildable = new V1beta2AllocationResult();
buildable.setDevices(fluent.buildDevices());
buildable.setNodeSelector(fluent.buildNodeSelector());
return buildable;
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy