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