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