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