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