io.alauda.devops.api.model.DoneableOAuthClientAuthorizationList 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 DoneableOAuthClientAuthorizationList extends OAuthClientAuthorizationListFluentImpl implements Doneable{
private final OAuthClientAuthorizationListBuilder builder;
private final io.alauda.kubernetes.api.builder.Function function;
public DoneableOAuthClientAuthorizationList(io.alauda.kubernetes.api.builder.Function function){
super();this.builder=new OAuthClientAuthorizationListBuilder(this);this.function=function;
}
public DoneableOAuthClientAuthorizationList(OAuthClientAuthorizationList item,io.alauda.kubernetes.api.builder.Function function){
super(item);this.builder=new OAuthClientAuthorizationListBuilder(this, item);this.function=function;
}
public DoneableOAuthClientAuthorizationList(OAuthClientAuthorizationList item){
super(item);this.builder=new OAuthClientAuthorizationListBuilder(this, item);this.function=new Function() {
public OAuthClientAuthorizationList apply(OAuthClientAuthorizationList item) {
return item;
}
}
;
}
public OAuthClientAuthorizationList done(){
return function.apply(builder.build());
}
}