io.alauda.kubernetes.api.model.DoneableUserAccount Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model;
import io.alauda.kubernetes.api.builder.Function;
public class DoneableUserAccount extends UserAccountFluentImpl implements Doneable{
private final UserAccountBuilder builder;
private final io.alauda.kubernetes.api.builder.Function function;
public DoneableUserAccount(io.alauda.kubernetes.api.builder.Function function){
super();this.builder=new UserAccountBuilder(this);this.function=function;
}
public DoneableUserAccount(UserAccount item,io.alauda.kubernetes.api.builder.Function function){
super(item);this.builder=new UserAccountBuilder(this, item);this.function=function;
}
public DoneableUserAccount(UserAccount item){
super(item);this.builder=new UserAccountBuilder(this, item);this.function=new Function() {
public UserAccount apply(UserAccount item) {
return item;
}
}
;
}
public UserAccount done(){
return function.apply(builder.build());
}
}