io.fabric8.openshift.api.model.miscellaneous.apiserver.v1.PerResourceAPIRequestLogBuilder Maven / Gradle / Ivy
The newest version!
package io.fabric8.openshift.api.model.miscellaneous.apiserver.v1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class PerResourceAPIRequestLogBuilder extends PerResourceAPIRequestLogFluent implements VisitableBuilder{
public PerResourceAPIRequestLogBuilder() {
this(new PerResourceAPIRequestLog());
}
public PerResourceAPIRequestLogBuilder(PerResourceAPIRequestLogFluent> fluent) {
this(fluent, new PerResourceAPIRequestLog());
}
public PerResourceAPIRequestLogBuilder(PerResourceAPIRequestLogFluent> fluent,PerResourceAPIRequestLog instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public PerResourceAPIRequestLogBuilder(PerResourceAPIRequestLog instance) {
this.fluent = this;
this.copyInstance(instance);
}
PerResourceAPIRequestLogFluent> fluent;
public PerResourceAPIRequestLog build() {
PerResourceAPIRequestLog buildable = new PerResourceAPIRequestLog(fluent.buildByNode(),fluent.getRequestCount());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}