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