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