io.kubernetes.client.openapi.models.V1ContainerResizePolicyBuilder Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
public class V1ContainerResizePolicyBuilder extends V1ContainerResizePolicyFluent implements VisitableBuilder{
public V1ContainerResizePolicyBuilder() {
this(new V1ContainerResizePolicy());
}
public V1ContainerResizePolicyBuilder(V1ContainerResizePolicyFluent> fluent) {
this(fluent, new V1ContainerResizePolicy());
}
public V1ContainerResizePolicyBuilder(V1ContainerResizePolicyFluent> fluent,V1ContainerResizePolicy instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public V1ContainerResizePolicyBuilder(V1ContainerResizePolicy instance) {
this.fluent = this;
this.copyInstance(instance);
}
V1ContainerResizePolicyFluent> fluent;
public V1ContainerResizePolicy build() {
V1ContainerResizePolicy buildable = new V1ContainerResizePolicy();
buildable.setResourceName(fluent.getResourceName());
buildable.setRestartPolicy(fluent.getRestartPolicy());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy