io.kubernetes.client.openapi.models.V1ControllerRevisionBuilder Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
public class V1ControllerRevisionBuilder extends V1ControllerRevisionFluent implements VisitableBuilder{
public V1ControllerRevisionBuilder() {
this(new V1ControllerRevision());
}
public V1ControllerRevisionBuilder(V1ControllerRevisionFluent> fluent) {
this(fluent, new V1ControllerRevision());
}
public V1ControllerRevisionBuilder(V1ControllerRevisionFluent> fluent,V1ControllerRevision instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public V1ControllerRevisionBuilder(V1ControllerRevision instance) {
this.fluent = this;
this.copyInstance(instance);
}
V1ControllerRevisionFluent> fluent;
public V1ControllerRevision build() {
V1ControllerRevision buildable = new V1ControllerRevision();
buildable.setApiVersion(fluent.getApiVersion());
buildable.setData(fluent.getData());
buildable.setKind(fluent.getKind());
buildable.setMetadata(fluent.buildMetadata());
buildable.setRevision(fluent.getRevision());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy