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