io.kubernetes.client.openapi.models.V1alpha3ResourcePoolBuilder Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
public class V1alpha3ResourcePoolBuilder extends V1alpha3ResourcePoolFluent implements VisitableBuilder{
public V1alpha3ResourcePoolBuilder() {
this(new V1alpha3ResourcePool());
}
public V1alpha3ResourcePoolBuilder(V1alpha3ResourcePoolFluent> fluent) {
this(fluent, new V1alpha3ResourcePool());
}
public V1alpha3ResourcePoolBuilder(V1alpha3ResourcePoolFluent> fluent,V1alpha3ResourcePool instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public V1alpha3ResourcePoolBuilder(V1alpha3ResourcePool instance) {
this.fluent = this;
this.copyInstance(instance);
}
V1alpha3ResourcePoolFluent> fluent;
public V1alpha3ResourcePool build() {
V1alpha3ResourcePool buildable = new V1alpha3ResourcePool();
buildable.setGeneration(fluent.getGeneration());
buildable.setName(fluent.getName());
buildable.setResourceSliceCount(fluent.getResourceSliceCount());
return buildable;
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy