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