io.fabric8.openshift.api.model.UserListBuilder Maven / Gradle / Ivy
package io.fabric8.openshift.api.model;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class UserListBuilder extends UserListFluent implements VisitableBuilder{
public UserListBuilder() {
this(new UserList());
}
public UserListBuilder(UserListFluent> fluent) {
this(fluent, new UserList());
}
public UserListBuilder(UserListFluent> fluent,UserList instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public UserListBuilder(UserList instance) {
this.fluent = this;
this.copyInstance(instance);
}
UserListFluent> fluent;
public UserList build() {
UserList buildable = new UserList(fluent.getApiVersion(),fluent.buildItems(),fluent.getKind(),fluent.getMetadata());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}